fn decimal_digits(n: usize) -> usize
Returns the number of decimal digits in the given number.
This is the same as n.to_string().len().
n.to_string().len()