const in getDigitNum