I learn new method in Java 25V to give fixed floating point's
Syx:-
float a=23.23;
float b=12.23;
IO.println(String.format("%.2f",(a+b));
O/p :- 35.46
I learn new method in Java 25V to give fixed floating point's
Syx:-
float a=23.23;
float b=12.23;
IO.println(String.format("%.2f",(a+b));
O/p :- 35.46
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)