Loading

mapper.round


mapper
Since v1.0.11
Available on all platforms
See also

This mapper function rounds the single value in a sliding window to the closests LONG.

The mapper.round function can be applied to data of type LONG or DOUBLE.

Signature

Examples

[ [ NEWGTS "GTS.1" RENAME 10 NaN NaN NaN 41.1 ADDVALUE 20 NaN NaN NaN -123.4 ADDVALUE NEWGTS "GTS.2" RENAME 10 NaN NaN NaN -211.9 ADDVALUE 20 NaN NaN NaN 4.6 ADDVALUE ] mapper.round 0 0 0 ] MAP