Difference between revisions of "Ceiling"
Jump to navigation
Jump to search
(Created page with "Returns the smallest integer greater than or equal to the specified numerical expression. ==== Usage ==== <syntaxhighlight>Ceiling(Value)</syntaxhighlight> Where: [[Value...") |
m |
||
Line 1: | Line 1: | ||
Returns the smallest integer greater than or equal to the specified numerical expression. | Returns the smallest integer greater than or equal to the specified numerical expression. | ||
− | + | == Usage == | |
− | <syntaxhighlight>Ceiling(Value)</syntaxhighlight> | + | <syntaxhighlight>Ceiling(Value);</syntaxhighlight> |
− | Where: | + | Where: |
+ | |||
+ | :'''Value''' - a numerical expression. | ||
− | == | + | == Examples == |
− | <syntaxhighlight>Ceiling(9.1) | + | <syntaxhighlight>Ceiling(9.1);</syntaxhighlight> |
+ | Will return a value of 10. | ||
− | Ceiling(-2.85) | + | <syntaxhighlight>Ceiling(-2.85);</syntaxhighlight> |
− | + | Will return a value of -2. | |
[[Category:Math and Trig]] | [[Category:Math and Trig]] |
Latest revision as of 06:09, 9 February 2012
Returns the smallest integer greater than or equal to the specified numerical expression.
Usage
Ceiling(Value);
Where:
- Value - a numerical expression.
Examples
Ceiling(9.1);
Will return a value of 10.
Ceiling(-2.85);
Will return a value of -2.