Posts by Kitsune • 1 point
1 post
-
0
votes1
answer1522
viewsQ: Change number of digits after comma depending on the situation
I know I can get a limit of digits after the comma with %.2f for float and %.2lf for double. How can I change this limit depending on the occasion? For example: Get a two-digit limit with float that…