ApCoCoA-1:Num.Ceil: Difference between revisions
From ApCoCoAWiki
m ApCoCoA:Ceil moved to ApCoCoA:Num.Ceil |
No edit summary |
||
Line 44: | Line 44: | ||
<key>Ceil</key> | <key>Ceil</key> | ||
<wiki-category>Package_numerical</wiki-category> | |||
</command> | </command> |
Revision as of 13:07, 7 October 2009
Ceil
Maps a rational number to the next biggest integer.
Syntax
Num.Floor(Num:RAT):INT
Description
Maps a rational number Num to the next biggest integer.
@param Num A rational number.
@return The next biggest integer.
Example
Num.Ceil(8.1); Num.Ceil(-8.1); Num.Ceil(8); 9 ------------------------------- -8 ------------------------------- 8 -------------------------------
See also