CEILING function return the next integer that is larger than the number entered.
SELECT CEILING(43.98) -- Returns 44 SELECT CEILING(43.18) -- Returns 44 SELECT CEILING(0.18) -- Returns 1 SELECT CEILING(-0.18) -- Returns 0 SELECT CEILING(-43.18) -- Returns -43
MSDN reference : http://msdn.microsoft.com/en-us/library/ms189818.aspx
No comments:
Post a Comment