Output
============
bigdecimal === 123344534456550.12333
bigdecimalafter rounding === 1.2334453445655012E14
for the follwoing values
value 0.0000000000000 the outputis 0.0
value 0.000000165 the outputis 1.6E-7
value 0.00000000 the outputis 0.0
value 0.0000056789 the outputis 6.0E-6
value 0.00000545 the outputis 5.4E-6
value 0.123333547999 the outputis 0.12333355
value 123344534456550.12333 the outputis1.2334453445655012E14
What i need the number in Decimal not in scientific notation Plz help me over this if possible .i would be grateful to you for this
regards
vamsi
Vamsi,
I think you are trying to put to large number into a double. I think with the largest values we are loosing some precision. I'm not really sure what the largest values are that a double can contain. Maybe
you should pose that question!
The scientific notation issue can be resolved using the decimalformat class.