Difference between revisions of "ApCoCoA-1:Num.Ceil"

From ApCoCoAWiki
m (Bot: Category moved)
Line 44: Line 44:
 
<key>numerical.ceil</key>
 
<key>numerical.ceil</key>
  
<wiki-category>Package_numerical</wiki-category>
+
<wiki-category>ApCoCoA-1:Package_numerical</wiki-category>
 
</command>
 
</command>

Revision as of 16:33, 2 October 2020

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

Num.Floor

Num.FPart

PrintLn