Type Function Library math.* Return value Number Revision Current Public Release (2018.3326) Keywords log10, base-10 See also math.exp()
math.pow()
Returns the base-10 logarithm of x
.
print ( math.log10 (10)) ----> 1 print ( math.log10 (1)) ----> 0 print ( math.log10 (0)) ----> -inf print ( math.log10 (-1)) ----> nan |