Scripting > Math Functions


Ceiling Function

ceil()

Derive a time series or paired data set with values of the current time series rounded up to the nearest whole number that is greater to or equal to the value.  For time series data, missing values are kept as missing.

For paired data sets, use the setCurve method to first select the curve(s).

See also: setCurve(), floor()
Parameters: Takes no parameters
Example: newDataSet = dataSet.ceil()
Returns: A new HecMath object of the same type as the current object