Function prevPow10

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

    Returns

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

    Parameters

    • x: bigint

      a bigint

    Returns bigint

Generated using TypeDoc