I have the value 25.00 in a float, but when I print it on screen it is 25.0000000.
How can I display the value with only two decimal places?

13 Answers
13

Leave a Reply

Your email address will not be published. Required fields are marked *