log10()
The mathLib.log10() system function returns the base 10 logarithm of a number.
Syntax
mathLib.log10(numericVariable FLOAT in)
returns (result FLOAT)
- numericVariable
- Input can be any variable or expression that is assignment compatible with the FLOAT type (see "Assignment compatibility in EGL").
- result
- The base 10 logarithm of numericVariable is returned as a FLOAT that is greater than 0.
Example
result = mathLib.log10(myVar);