ApCoCoA-1:Num.Floor: Difference between revisions
From ApCoCoAWiki
m Bot: Category moved |
m fixed links to namespace ApCoCoA |
||
Line 37: | Line 37: | ||
<seealso> | <seealso> | ||
<see>Num.Ceil</see> | <see>ApCoCoA-1:Num.Ceil|Num.Ceil</see> | ||
<see>Num.FPart</see> | <see>ApCoCoA-1:Num.FPart|Num.FPart</see> | ||
<see>PrintLn</see> | <see>ApCoCoA-1:PrintLn|PrintLn</see> | ||
</seealso> | </seealso> | ||
Revision as of 08:37, 7 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