Ceiling

The Ceiling function rounds a number up to the nearest integer multiple of specified significance.

Ceiling(3.14, 0.1) → 3.2
Ceiling(7, 3) → 9

Inputs

Ceiling(value, [factor])

value - The value to round up to the nearest integer multiple of factor.

[factor] - [optional: 1 by default] - The number to whose multiples value will be rounded. factor may not be equal to 0

Last updated