User Tools

Site Tools


syntax:functions:floor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
syntax:functions:floor [2019/09/26 11:27] dmitrysyntax:functions:floor [2020/11/26 18:13] dmitry
Line 1: Line 1:
 ===== Floor(number) ===== ===== Floor(number) =====
  
-Nearest integer (i.e. full, not fractional) number towards negative infinity.+The nearest integer (i.e. full, not fractional) number towards negative infinity.
  
 ^  Example  ^  Result  ^ ^  Example  ^  Result  ^
-|  floor( - 10.99)  |  -11  | +|  floor(-10.99)  |  -11  | 
-|  floor( 10.99 )     |   10  |+|  floor( 10.99)  |   10  |
  
 === See also === === See also ===
   * [[syntax:functions:ceiling]]   * [[syntax:functions:ceiling]]
 +  * [[syntax:functions:floor]]
 +  * [[syntax:functions:truncate]]
 +
  
-Note: keep in mind that EasyMorph doesn't support unary minus in expressions - see Example 1 above. 
syntax/functions/floor.txt · Last modified: 2021/08/11 15:17 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki