Android Question Why 2.405 doesn't round to 2.41 with NumberFormat2 or Round2?

Jose Cuevas

Member
Licensed User
Longtime User
Hi, I need to round to 2 decimals this particular number 2.405, If I round this number with Excel, Windows Calculator, Fisical Calculator, etc., the result always is 2.41, but with Round2(2.405, 2) or with NumberFormat2(2.405, 1, 2, 2, False) the result is 2.40.

Thanks in advance for any help.
 

Jose Cuevas

Member
Licensed User
Longtime User
I just did some more tests and it also fails with 8.405, 9.405 and from 256.405 to 327.405
 
Upvote 0
Top