Returns the base 10 logarithm of a given value
Device + Agent
Name | Type | Description |
---|---|---|
value | Float/integer |
Any numerical value
|
Float — the base 10 logarithm
This function returns the common logarithm of the passed value. This is the power to which base 10 must be raised to generate the passed value. The anti-logarithm can be calculated using the math.pow() function:
local antiLog = math.pow(10, log);