Difference between revisions of "CEILING()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Helen.george (Talk | contribs) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to return the smallest integer that is greater than or equal to a given value | Function to return the smallest integer that is greater than or equal to a given value | ||
− | |||
==Syntax== | ==Syntax== | ||
CEILING(<expN>) | CEILING(<expN>) | ||
− | |||
==See Also== | ==See Also== | ||
[[BETWEEN()]], [[FLOOR()]], [[ISDIGIT()]], [[MAX()]], [[MIN()]], [[SIGN()]] | [[BETWEEN()]], [[FLOOR()]], [[ISDIGIT()]], [[MAX()]], [[MIN()]], [[SIGN()]] | ||
− | |||
==Description== | ==Description== | ||
The CEILING() function is used to return the smallest integer that is greater than or equal to a given value in the numeric expression <expN>. | The CEILING() function is used to return the smallest integer that is greater than or equal to a given value in the numeric expression <expN>. | ||
− | |||
==Example== | ==Example== | ||
Line 25: | Line 21: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Numeric Data]] | [[Category:Numeric Data]] | ||
[[Category:Numeric Data Functions]] | [[Category:Numeric Data Functions]] |
Revision as of 11:40, 7 December 2012
Contents
Purpose
Function to return the smallest integer that is greater than or equal to a given value
Syntax
CEILING(<expN>)
See Also
BETWEEN(), FLOOR(), ISDIGIT(), MAX(), MIN(), SIGN()
Description
The CEILING() function is used to return the smallest integer that is greater than or equal to a given value in the numeric expression <expN>.
Example
? ceiling(354.89) 355 ? ceiling(354.19) 355 ? ceiling(-354.89) -354