Trims any trailing zeros and returns the number of zeros trimmed.
auto big = BigInt("123456789000000"); auto digits = countDigits(big); assert(digits == 15); auto zeros = clipZeros(big, digits); assert(zeros == 6);
See Implementation
Trims any trailing zeros and returns the number of zeros trimmed.