Difference between revisions of "ApCoCoA-1:Num.Floor"
From ApCoCoAWiki
m (Bot: Category moved) |
|||
Line 46: | Line 46: | ||
<key>numerical.floor</key> | <key>numerical.floor</key> | ||
− | <wiki-category>Package_numerical</wiki-category> | + | <wiki-category>ApCoCoA-1:Package_numerical</wiki-category> |
</command> | </command> |
Revision as of 16:34, 2 October 2020
Num.Floor
Maps a rational number to the next smallest integer.
Syntax
Num.Floor(Num:RAT):INT
Description
Maps a rational number Num to the next smallest integer.
@param Num A rational number.
@return The next smallest integer.
Example
Num.Floor(8.1); Num.Floor(-8.1); Num.Floor(8); 8 ------------------------------- -9 ------------------------------- 8 -------------------------------
See also