num-digits (npm): get the number of decimal digits in a number before the point.
Keywords: num|digits|num-digits