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

AVEVA™ InTouch HMI

Int() Function

  • Last UpdatedFeb 21, 2017
  • 1 minute read

Returns the integer less than (or equal to) a specified number.

Syntax

result = Int (number)

Parameters

number

A literal number, analog tagname, or numeric expression.

Example(s)

Int(4.7) returns 4.

Int(-4.7) returns -5.

Note: For negative real numbers, this function returns an integer that is smaller than the specified number. For example, Int(-4.7) is not -4, but -5. To have the integer part returned, use the Trunc() function. See Trunc() Function.

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