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

AVEVA™ InTouch HMI

Calculate the square root

  • Last UpdatedJul 23, 2024
  • 1 minute read

In a script, you can use the Sqrt() function to calculate the square root of a specified non-negative number.

Note: If you pass a negative value to the Sqrt() function, it returns a result of -99.0000000.

Syntax

result = Sqrt (number)

Parameters

number

A non-negative literal number, analog tagname, or numeric expression

Example(s)

Sqrt(36) returns 6.

Sqrt(perftag) returns the square root of the value held by the tagname perftag.

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