Ceiling

This function rounds a numeric value up to the nearest multiple of a numeric factor.

Description

The ceiling numeric operation, to a multiple of a factor.

Type

NUMERIC

Arguments

Type

Meaning

1

NUMERIC

the value

2

NUMERIC

the factor

Evaluation

Converts the value into the units of the factor, then returns the smallest integral multiple of the factor which is not less than the converted value.

The returned value has the units of the factor.

Comments

Note that if the scalar portion of the factor is 1.0, then this function simply returns the ceiling ( ) of the value expressed in the units of the factor.

If the two arguments are of a different unit type, this function aborts the run with an error.

 
Ceiling("Dry Reservoir.Pool Elevation"[], 100.0 "ft")
 
400 "ft"