User Tools

Site Tools


wiki:round

ROUND() Function

The ROUND() function can be used to round off a variable to a specific number of decimal points.

Usage:

ROUND(variable, precision) - see below for description.

Generic Variables (per device type)

ROUND('INC1_AE',2)

Round the value to 2 decimal places (i.e 1.00)

Device - Specific Variables

For device specific variables use a . to separate the device name:

ROUND('My Device.My Value',0)

Rounds the value to a whole number

wiki/round.txt · Last modified: 2017/05/08 08:32 by admin