digitCount

Returns the number of decimal digits in the absolute value of this number.

Zero counts as one digit. The sign is not counted, and Int.MIN_VALUE is handled without overflow.


Returns the number of decimal digits in the absolute value of this number.

Zero counts as one digit. The sign is not counted, and Long.MIN_VALUE is handled without overflow.