Skip to content

ROUNDUP Expression

ROUNDUP parses a numeric input and applies std::ceil: it returns the smallest integer value greater than or equal to the input.

Syntax

ROUNDUP{value}

Examples

Values already present in ACE's expression/math-parser tests include:

ROUNDUP{2.2}    -> 3
ROUNDUP{-2.1}   -> -2

Ceiling moves toward positive infinity. Nested numeric expressions may be used as the input.