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

AVEVA™ InTouch HMI

Sgn() Function

  • Last UpdatedFeb 21, 2017
  • 1 minute read

Returns the sign of a number. Use it to determine if a number, tagname, or expression is negative, positive, or zero.

Syntax

result = Sgn (number)

Parameters

number

A literal number, analog tagname, or numeric expression.

Example(s)

Sgn(425) returns 1.

Sgn(0) returns 0.

Sgn(-37.3) returns -1.

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