roundoff¶
Result = roundoff(expression)
- expression
spatial, non spatial scalar
- Result
dimension of expression scalar
Operation¶
For each cell, the value on expression is rounded off: the whole value whose difference with the value on expression is smallest is assigned to Result. If a value on expression is exactly halfway between two whole numbers, the number with the greatest absolute magnitude is assigned to Result.
Notes¶
Input values can be positive or negative. A cell with missing value on expression is assigned a missing value on Result.
Group¶
This operation belongs to the group of Rounding
Examples¶
- • pcrcalcbindingResult = Result.map;Expr = Expr.map;initialreport Result = roundoff(Expr);• pythonExpr = readmap(“Expr.map”)Result = roundoff(Expr)
Result.map
Expr.map