Log
- Last UpdatedOct 29, 2026
- 1 minute read
Calculates the natural log of numValue.
|
Function |
Group |
Execution |
String Exp. |
Windows |
Windows Embedded |
IoT View |
Thin Clients |
Mobile Access |
|---|---|---|---|---|---|---|---|---|
|
Log |
Logarithmic |
Synchronous |
Yes |
Supported |
Supported |
Supported |
Supported |
Supported |
Syntax
Log (numValue)
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 |