ceil
Computes the smallest integer value larger than the input.
Prototype
function ceil ( value : numeric ) return_val [dimsizes(value)] : float or double
Arguments
valueOne or more values of any dimension.
Return value
Returns an array dimensioned the same as value. The return type is double if the input is double, and float otherwise.
Description
This function returns the smallest integer value larger than value. Missing values are ignored.
See Also
Examples
Example 1
f = 6.4 ceil_f = ceil(ceil_f) print(ceil_f) ; Should be 7