Posts by João Manuel Rodrigues • 301 points
1 post
-
20
votes4
answers3125
viewsA: Precise math division
In your example, 9/3.0001 ~ 2.99990000333322222592 Thus, the round answer to 3 decimal places is in fact 3,000. Your program is correct, within the limits of precision you specified. If you want the…