Hi i was wondering how to set a float to print out only two decimal places, when it is outputted to the screen.
The program involves money and you cant have 3 decimals with currency.
Example
32.4432
to
32.44
Thanks
Hi i was wondering how to set a float to print out only two decimal places, when it is outputted to the screen.
The program involves money and you cant have 3 decimals with currency.
Example
32.4432
to
32.44
Thanks