Possible Duplicate:
Android number format is wrong somehow, instead of 3.5 I get 3.499999999, why?
Does any one know why Android platform gives such strange result?
4.1 - 4 = 0.09999999999999964
It's only 4 that gives such strange rounding.
Actually I need to get mantissa from 4.1 so I need 0.1 as result but not 0.09999999999999964.
Any ideas?