Show/Hide Toolbars

Take Command / TCC Help v. 21

@CEILING[n] : Returns the value of the smallest integer that is not less than n. @CEILING will perform an implicit @EVAL on its argument, so you can enter an arithmetic expression.

 

Examples:

 

echo %@ceiling[3.14]

4

 

echo %@ceiling[-3.14]

-3

 

echo %@ceiling[0]

0

 

echo %@ceiling[123*37.36]

4596

 

See also: @FLOOR.