Scripting > Math Functions


Floor Function

floor()

 

Derive a time series or paired data set with values of the current time series rounded down to the nearest whole number that is less than 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(), ceil()

Parameters:  Takes no parameters

Example: newDataSet = dataSet.floor()

Returns:  A new HecMath object of the same type as the current object