x:Float = 34 Print x 34.0000000 x:Float = 34.1 Print x 34.0999985 x:Float = 34.0999921 Print x 34.0999908
So umm, anybody care to explain this?
I've been looking around through the forums (searching and browsing) and maybe I'm missing it, but the only topics I can find related to this are about the problems with x:Float = (1310/100) for example not being equal to 13.1, which I can understand, no problem.
I'm sure there's some reason why when I say I want my float to be 34.0999921 it's returned as 34.0999908, I'd just like to actually understand it, not just know "that's the way it is". :)
Thanks,
Dave Mauldin (NeuralizR)