I run an xml application on Tomcat, using jelly.
I have a variable that is a double. I want to present it with 4 decimals, however, when the value gets too small, ie. 0.0001, it shows the scientific notation.
Does anybody know how to solve this is?
DecimalFormat looks promissing, but I don't know how to create an object of it's kind in jelly and use it.
any help is welcome, here's my best shot so far: