Skip to main content

ceil

Overloads

NameDescription
ceil(bool p) -> boolRounds the given value upward to the nearest integer.
ceil(real p) -> realRounds the given value upward to the nearest integer.
ceil(integer p) -> integerRounds the given value upward to the nearest integer.

ceil(bool p) -> bool

Rounds the given value upward to the nearest integer.

Parameters

  • p: The value to round upward.

ceil(real p) -> real

Rounds the given value upward to the nearest integer.

Parameters

  • p: The value to round upward.

ceil(integer p) -> integer

Rounds the given value upward to the nearest integer.

Parameters

  • p: The value to round upward.