Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

Round() Function

  • Last UpdatedFeb 21, 2017
  • 1 minute read

Rounds a number to a specified precision. The result is a real number.

Syntax

result = Round (number, precision)

Parameters

number

A literal number, analog tagname, or numeric expression.

precision

The precision to which the number is rounded. Can be a literal number, analog tagname, or numeric expression.

Example(s)

Round(4.3, 1) returns 4.

Round(4.3, 0.01) returns 4.30.

Round(4.5, 1) returns 5.

Round(-4.5, 1) returns -4.

Round(106, 5) returns 105.

Round(43.7, 0.5) returns 43.5.

In This Topic
TitleResults for “How to create a CRG?”Also Available in