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)

Log

  • Last UpdatedOct 04, 2024
  • 1 minute read

Return the natural logarithm (base e = 2.7182818...) of an integer or real number.

Syntax

Log(x)

Arguments

  • x

    Must be an integer or real number greater than zero

Returns

The natural logarithm of x

Exceptions

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

Example

  • Log(14)

    [Returns 2.6391]

  • Log(TagVal('att1', '14-Dec-16'))

    [Return the natural log of the value of 'att1' at 12:00am on Dec 14, 2016]

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