mathLib.log10

The system function mathLib.log10 returns the base 10 logarithm of a number.


mathLib.log10 syntax diagram

result

Any numeric or HEX item, as described in Mathematical (system words). The value returned by the log10 function is converted to the format of result and returned in result.

numericItem

Any numeric or HEX item, as described in Mathematical (system words). The item is converted to double-precision floating-point before result is calculated.

Example

  result = mathLib.log10(myItem);

Related reference
Mathematical (system words)