The number length of a nonnegative integer in an integer base
is the number of digits in
the base-
numeral for
written without leading zeros. For
, it is given by
where
is the floor function. The numeral for 0 consists
of one digit, so
.
The multiplicative persistence of an -digit number
is sometimes also called its length.