Returns the base-10 logarithm of a specified value.
...Math.Log10(value )
Prerequisites
None
Parameters
value
A required expression that evaluates to any numerical data type, e.g. Integer, Single, Double.
Remarks
Returns the exponent to which the number 10 must be raised in order to produce the value.
Examples
Dim l_exp As Single
l_exp = Math.Log10(10) ' Sets l_exp to 1
l_exp = Math.Log10(0.01) ' Sets l_exp to -2
l_exp = Math.Log10(Math.Pow(10,3.4)) ' Sets l_exp to 3.4
See Also