Skip to main content

CEILINGMATH

Rounds a number up to the nearest multiple of significance. For negative numbers, mode controls direction: mode=0 (default) rounds toward zero, mode≠0 rounds away from zero.

CategoryMath
SyntaxCEILINGMATH(number, [significance], [mode])

Parameters

ParameterRequiredDescription
numberRequiredThe number to round.
significanceOptionalThe multiple to which you want to round. Defaults to 1.
modeOptional0 (default): negative numbers round toward zero. Non-zero: negative numbers round away from zero.

Example

CEILINGMATH(number, [significance], [mode])

Auto-generated from the EngCanvas function registry.