Hacker News new | ask | show | jobs
by benatkin 530 days ago
I like to think of it as TRUNC
1 comments

For positive numbers, both the FLOOR() and TRUNC() functions return the same values
And for negative numbers it's CEIL()!

And in SQL Server, ROUND() with a nonzero number for the third parameter for truncate, and CELING() for ceiling.