java double 2 decimal

45

java double 2 decimal -

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

Comments

Submit
0 Comments