+1 888 340 6572

Floor: Difference between revisions

From MultiCharts
(Created page with "Returns the greatest integer less than or equal to the specified numerical expression. ==== Usage ==== <syntaxhighlight>Floor(Value)</syntaxhighlight> Where: Value - ...")
 
mNo edit summary
 
Line 1: Line 1:
Returns the greatest integer less than or equal to the specified numerical expression.   
Returns the greatest integer less than or equal to the specified numerical expression.   


==== Usage ====
== Usage ==
<syntaxhighlight>Floor(Value)</syntaxhighlight>  
<syntaxhighlight>Floor(Value);</syntaxhighlight>  


Where: [[Value]] - a numerical expression  
Where:  
 
:'''Value''' - a numerical expression.
   
   
==== Example ====
== Examples ==
<syntaxhighlight>Floor(9.1) will return a value of 9  
<syntaxhighlight>Floor(9.1);</syntaxhighlight>
Will return a value of 9.


Floor(-2.85) will return a value of -3</syntaxhighlight>
<syntaxhighlight>Floor(-2.85);</syntaxhighlight>
Will return a value of -3.


[[Category:Math and Trig]]
[[Category:Math and Trig]]

Latest revision as of 06:05, 9 February 2012

Returns the greatest integer less than or equal to the specified numerical expression.

Usage

Floor(Value);

Where:

Value - a numerical expression.

Examples

Floor(9.1);

Will return a value of 9.

Floor(-2.85);

Will return a value of -3.