Hai all,
I have a float value in my
java program which is used to calculate percentage. And i have to round that value to two decimal places. The conversion i am expecting is as follows
12.3476 to 12.35
12.9988 to 13.00
I tried with round(),number2str supported by Tutil class and some jstl tags also. But answer is not like i am expecting.
Is there any other API classes to do this,Or any other method?
Please help me and do reply me immediately....