Ceil: Difference between revisions

From BR Wiki
Jump to navigation Jump to search
m (moved CEIL to Ceil)
No edit summary
Line 1: Line 1:
  CEIL(X)
  Ceil(X)


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.
 
In simplest terms, Ceil always rounds up.


===Comments and Examples===
===Comments and Examples===
Line 9: Line 11:
===Related Functions===
===Related Functions===


*[[ABS]]
*[[Abs]]
*[[FP]]
*[[FP]]
*[[INT]]
*[[Int]]
*[[IP]]
*[[IP]]
*[[ROUND]]
*[[Round]]


<noinclude>
<noinclude>
[[Category:Internal Functions]]
[[Category:Internal Functions]]
</noinclude>
</noinclude>

Revision as of 12:35, 12 March 2014

Ceil(X)

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