normalizedPrecision

Calculate the precision (i.e. number of digits) in this BigDecimal, according to how Bigquery represents it.

For BigDecimal instances with nonzero decimal points and 0 trailing 0-digits (e.g. 123.456, 123), this is equivalent to BigDecimal.precision().

For BigDecimal instances with zero decimal points and some trailing 0-digits (e.g. 10, 100), this function calculates the total number of digits in the number.