java double 2 decimal

50

java double 2 decimal -

String result = String.format("%.2f", value);

Comments

Submit
0 Comments