print up to 2 decimal in java

67

print up to 2 decimal in java -

System.out.printf("%.2f", value);

Comments

Submit
0 Comments