Hex Core JS
    Preparing search index...

    Function convertBase

    • Converts a number (number or string) from its current base to the target base.

      Parameters

      • value: string | number

        The number to convert.

      • currentBase: number

        The current base of num.

      • targetBase: number

        The base to convert to.

      Returns string