Function significantDigits

  • Count the number of significant digits in a number.

    Parameters

    • x: number

      a number

    Returns number

    |m - '.'| | x = m × 10ᵉ; m = mantissa, e = exponent

Generated using TypeDoc