Log
Calculates the natural log of numValue.
Function | Group | Execution | Windows | Embedded | Thin Client | Mobile Access |
---|---|---|---|---|---|---|
Log | Logarithmic | Synchronous | Supported | Supported | Supported | Supported |
Syntax
- numValue
- Integer or Real tag from which the natural log is taken.
Returned value
Returns the value of ln( numValue ).
Note: If numValue has a negative value, then this function will return the value 0 and it will set the quality of the returned tag to BAD.
Examples
Tag Name | Expression |
---|---|
Tag | Log( 2.718282 ) // Returned value = 1 |
Tag | Log( 100 ) // Returned value = 4.605170 |