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)

Cos

  • Last UpdatedOct 04, 2024
  • 1 minute read

Return the trigonometric cosine of an integer or real number.

Syntax

Cos(x)

Arguments

  • x

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

Returns

The cosine of x

Exceptions

If x is not an integer or real number, returns an error value

Example

  • Cos(1.1)

    [Returns 0.4536]

  • Cos(1)

    [Returns 0.5403]

  • Cos('att1')

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

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