0

When I pass small value in text field

double q = Double.parseDouble(pqty.getText());
System.out.println("hiii    "+q);

It's give same output like 10000 but when I passed 10000000 the output is changed my q variable print like this 1.0E7.

I want it 10000000.00 like this.

Mark Rotteveel
  • 100,966
  • 191
  • 140
  • 197
Dhawal Patel
  • 63
  • 1
  • 9

0 Answers0