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 2024 R2)

Tan

  • Last UpdatedOct 04, 2024
  • 1 minute read

Return the trigonometric tangent of a number.

Syntax

Tan(x)

Arguments

  • x

    Must be an integer or real number, which represents an angle in radians

Returns

The tangent of x.

Exceptions

If x is not a number, returns an error

Example

  • Tan(1)

    [Returns 1.5574]

  • Tan(1.1)

    [Returns 1.9648]

  • Tan('att1')

    [Return the trigonometric tangent of the value of 'att1' at trigger time]

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