floor(1.999999999999)=1 floor(1.99999999999999999999999999)=2, why is that?
Floor should return the lower integer right? Thanks.
No products are associated with this question.
If that confuses you, this probably will too:
>> isequal(1.99999999999999999999999999, 2)
Anyway, it has nothing to do with the FLOOR command. It's because your big long decimal can't be distinguished from 2 in floating point.