Hacker News new | ask | show | jobs
by santaclaus 3820 days ago
> I would ALWAYS expect floor to "basically" return the number in front of the "."

Not for negative numbers -- floor(-0.1) should be -1.