NumIntDigits Function
Returns the number of digits in a given number that appear to the left of the decimal point, not counting preceding zeros.
Syntax
NumIntDigits(value)
Returns the number of digits in a given number that appear to the left of the decimal point, not counting preceding zeros.
Arguments
value
Numeric - The number whose integer digits should be counted.
Remarks
Example:
NumIntDigits(123.4567); // returns 3