On Tue, Feb 3, 2009 at 12:38 PM, Artur Fijałkowski <wiki.warx(a)gmail.com> wrote:
If anyone want to be sure that floor(4.99999999..) ==
5 he should use
floor(round()) not floor().
That defeats the point of using floor(). It would turn 4.6 into 5
also. In fact, floor(round(x)) is exactly the same thing as round(x).