Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I noticed this strange round() function behaviour.
I want to round 3.355 to two decimal places and I am expect the answer 3.36 but I get 3.35.
Why?
See this blog post: Rounding Errors
See this blog post: Rounding Errors
Please look here for more details: Rounding Errors