Math.log10() returns the base 10 logarithm of a number.
How many times must we multiply 10 to get 1000?