ApCoCoA-1:Num.Ceil: Difference between revisions

From ApCoCoAWiki
m fixed links to namespace ApCoCoA
m insert version info
 
Line 1: Line 1:
{{Version|1}}
<command>
<command>
<title>Num.Ceil</title>
<title>Num.Ceil</title>

Latest revision as of 10:27, 7 October 2020

This article is about a function from ApCoCoA-1.

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