Ceil: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
  Ceil(<numeric expression>)
  Ceil(<[[numeric expression]]>)


The '''Ceil''' [[internal function]] calculates the smallest integer greater than or equal to X.
The '''Ceil''' [[internal function]] calculates the smallest integer greater than or equal to X.

Latest revision as of 12:47, 22 May 2014

Ceil(<numeric expression>)

The Ceil internal function calculates the smallest integer greater than or equal to X.

In simplest terms, Ceil always rounds up.

Comments and Examples

CEIL(+5.1) is 6, but CEIL(-5.1) is -5.

Related Functions