Function nextPow10

  • Find smallest power-of-10 greater than or equal to given bigint.

    Parameters

    • x: bigint

      a bigint

    Returns bigint

    10ⁱ | 10ⁱ ≥ x and 10ⁱ < 10x

Generated using TypeDoc