Difference between revisions of "Floor"
Jump to navigation
Jump to search
(Created page with "Returns the greatest integer less than or equal to the specified numerical expression. ==== Usage ==== <syntaxhighlight>Floor(Value)</syntaxhighlight> Where: Value - ...") |
m |
||
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 == | |
− | <syntaxhighlight>Floor(Value)</syntaxhighlight> | + | <syntaxhighlight>Floor(Value);</syntaxhighlight> |
− | Where: | + | Where: |
+ | |||
+ | :'''Value''' - a numerical expression. | ||
− | == | + | == Examples == |
− | <syntaxhighlight>Floor(9.1) | + | <syntaxhighlight>Floor(9.1);</syntaxhighlight> |
+ | Will return a value of 9. | ||
− | Floor(-2.85) | + | <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.