Difference between revisions of "Ceiling"

From MultiCharts
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 ====
+
== Usage ==
<syntaxhighlight>Ceiling(Value)</syntaxhighlight>  
+
<syntaxhighlight>Ceiling(Value);</syntaxhighlight>  
  
Where: [[Value]] - a numerical expression  
+
Where:  
 +
 
 +
:'''Value''' - a numerical expression.
 
   
 
   
==== Example ====
+
== Examples ==
<syntaxhighlight>Ceiling(9.1) will return a value of 10  
+
<syntaxhighlight>Ceiling(9.1);</syntaxhighlight>
 +
Will return a value of 10.
  
Ceiling(-2.85) will return a value of -2</syntaxhighlight>
+
<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.