The log10 Statement
The log10 statement lets you calculate the base-10 logarithm of x. The syntax of the log10 statement is shown below.
log10 result, x // store the base-10 logarithm of x