Exp
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server 2023
- PI Server
Return the exponential of an integer or real number. This is the number ex, where e = 2.7182818...
Syntax
Exp(x)
Arguments
-
x
Must be an integer or real number
Returns
The exponential of x
Exceptions
If x is not an integer or real number, returns an error value
Example
-
Exp(11)
[Returns 59874]
-
Exp('att1')
[Return the exponential of the value of 'att1' at trigger time]
-
Exp(TagVal('att1','t'))
[Return the exponential of the value of 'att1' at the start of day (12am) today]