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

From ApCoCoAWiki
m (Bot: Category moved)
m (fixed links to namespace ApCoCoA)
Line 35: Line 35:
  
 
<seealso>
 
<seealso>
  <see>Num.Floor</see>
+
  <see>ApCoCoA-1:Num.Floor|Num.Floor</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:36, 7 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