Garry's Mod Wiki

math.log10

  number math.log10( number x )

Description

Returns the base-10 logarithm of x. This is usually more accurate than math.log(x, 10).

Arguments

1 number x
The value to get the base from exponent from.

Returns

1 number
The result.