Posts by Santty D. • 1 point
1 post
-
-1
votes3
answers98
viewsA: Incorrect reading of floating point
Friend, use the "dot" in the directive, in your case "%. 2f" instead of getting 3.500000 as you wish, would be a real value of 3.50, without formatting with "dot" in the directive, when printar will…