Function prevPow10

  • Find largest power-of-10 less than or equal to given bigint.

    Parameters

    • x: bigint

      a bigint

    Returns bigint

    10ⁱ | 10ⁱ ≤ x and 10ⁱ > x/10

Generated using TypeDoc