Double.parseDouble returning 2.0E7
807599May 8 2007 — edited May 8 2007Hi,
I have a piece of code (snippet below)
double aggrAmount=0.0;
Tag t;
aggrAmount=Double.parseDouble(t.getValue().substring(t.getValue().lastIndexOf("/")+1, t.getValue().length()-1));
where t="AGGR//FAMT/20000000,"
when i check aggrAmount the value is 2.0E7. How can i get the value as it is?
PLs help...
THanks for your time and advice