Log10
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server 2018
- PI Server
Return the base 10 logarithm of an integer or real number.
Syntax
Log10(x)
Arguments
-
x
Must be an integer or real number greater than zero
Returns
The base 10 logarithm of x
Exceptions/Errors
If x is zero or negative, or not a number, returns an error value
Example
-
Log10(100)
[Returns 2]
-
Log10(TagVal('att1', '14-Dec-16'))
[Return the base 10 logarithm of the value of 'att1' at 12:00am on Dec 14, 2016]