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

Analytics and Notifications for PI System Explorer (PI Server 2018)

Sqr

  • Last UpdatedOct 04, 2024
  • 1 minute read

Return the square root of a number.

Syntax

Sqr(x)

Arguments

  • x

    Must be an integer or real number equal to or greater than zero

Returns

The square root of x

Exceptions

If x is negative, or is not a number, returns an error value

Example

  • Sqr(2)

    [Returns 1.4142]

  • Sqr(2.1)

    [Returns 1.4491]

  • Sqr('att1')

    [Return square root of the value of 'att1' at trigger time]

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