Difference between revisions of "ApCoCoA-1:Num.Ceil"
From ApCoCoAWiki
Line 1: | Line 1: | ||
<command> | <command> | ||
− | <title>Ceil</title> | + | <title>Num.Ceil</title> |
<short_description>Maps a rational number to the next biggest integer.</short_description> | <short_description>Maps a rational number to the next biggest integer.</short_description> | ||
Revision as of 11:33, 15 October 2009
Num.Ceil
Maps a rational number to the next biggest integer.
Syntax
Num.Ceil(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