Hello world, Could you please tell me how to get rid of the 'E' which appears when a big valued floating point number in a text field. Say 1.03E7 like that. Thanks
SCJP 1.4, SCMAD 1.0<br />SCWCD, SCBCD (in progress)
Wayne L Johnson
Ranch Hand
Joined: Sep 03, 2003
Posts: 399
posted
0
Take a look at the java.text.DecimalFormat class. You can specify a format, which might include commas or decimal points or parenthesis (for negative number), and number of digits after the decimal point.
Ransika deSilva
Ranch Hand
Joined: Feb 18, 2003
Posts: 524
posted
0
Thank you very much for the reply. I would take a look at it.