ROUND examples
- Last UpdatedMar 07, 2025
- 1 minute read
Example 1
The following expression returns the difference in flow rates for two pumps, rounded to the nearest integer.
ROUND( Pump101.Flow - Pump102.Flow )
The units for each tag in the expression are implicitly converted to match the units of the first tag.
Represented as a line chart over a 1 hour interval:

Example 2
The following expression returns the second value of the time, divided by 5 and rounded to the nearest integer.
ROUND( SysTimeSec / 5.0 )
Represented as a line chart over a 5 minute interval:
