log10_return_base_10_logarithm_.htm
Navigation: Language Reference > 13 - Built-in Functions >====== LOG10 (return base 10 logarithm) ====== | |
LOG10(expression)
LOG10 | Returns base 10 logarithm. |
expression | A numeric constant, variable, or expression. If the value of the expression is zero or less, the return value will be zero. The base 10 logarithm is undefined for values less than or equal to zero. |
The LOG10 (pronounced “log ten”) procedure returns the base 10 logarithm of a numeric expression. The base 10 logarithm of a value is the power to which 10 must be raised to equal that value.
Return Data Type: | REAL |
Example:
!LOG10(10) returns 1
!LOG10(1) returns 0
LogStore = LOG10(Var) !Store the log 10 of var
See Also:
log10_return_base_10_logarithm_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1