Returns the logarithm of a number by base 10.
double val // number to take logarithm
[in] Numeric value the common logarithm of which is to be calculated.
The common logarithm in case of success. If val is negative, the function returns NaN (undetermined value). If val is equal to 0, the function returns INF (infinity).
Instead of MathLog10() you can use log10().
Real types (double, float)