The mathLib.log10() system function returns the base 10 logarithm of a number.
mathLib.log10(numericVariable FLOAT in) returns (result FLOAT)
result = mathLib.log10(myVar);