floor: Difference between revisions
Jump to navigation
Jump to search
(New page: ==Function deleteStrProp== Returns the number padded in if it is an integer, otherwise the number is rounded down to the nearest smaller integer and that value is returned. ===Usage=== <s...) |
No edit summary |
||
Line 1: | Line 1: | ||
==Function | ==Function floor== | ||
Returns the number padded in if it is an integer, otherwise the number is rounded down to the nearest smaller integer and that value is returned. | Returns the number padded in if it is an integer, otherwise the number is rounded down to the nearest smaller integer and that value is returned. | ||
Revision as of 13:31, 1 December 2008
Function floor
Returns the number padded in if it is an integer, otherwise the number is rounded down to the nearest smaller integer and that value is returned.
Usage
[h: result = floor(num)]
Examples
[r: floor(2)]
Returns 2.
[r: floor(1.2)]
Returns 1.
[r: floor(-1.2)]
Returns -2.