Difference between revisions of "CEILING()"

From Lianjapedia
Jump to: navigation, search
 
Line 23: Line 23:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
[[Category:Numeric Data]]
 
 
[[Category:Numeric Data Functions]]
 
[[Category:Numeric Data Functions]]

Latest revision as of 08:57, 4 February 2013

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