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

AVEVA™ InTouch HMI

Round, truncate, and determine sign

  • Last UpdatedJul 23, 2024
  • 1 minute read

In a script, you can use the following functions to round numbers, truncate numbers, and determine the sign of numbers:

Use

To

Abs()

Calculate the absolute of a value or expression.

Int()

Calculate the integer of a value or expression.

Round()

Round a value or expression.

Sgn()

Determine the sign (minus, plus, zero) of a value or expression.

Trunc()

Return the part of a value or expression before the decimal point.

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