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

PI System Management Tools

Int (Tag-based PE function)

  • Last UpdatedOct 04, 2024
  • 1 minute read

Return the integer part of an integer or real number.

Syntax

Int(x)

Arguments

x

A number or string.

Returns

The integer part of x. If x is a string, it is first converted into a number.

Exceptions

If x is not a number or a numeric string, returns Calc Failed.

Example

Int('tag1')

Int(1)

Int(2.1)

Int("2.1")

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