Function convert10To26

  • Convert a given 10-hex number to a lowercase 26-hex string.

    Usage:

    const ret1 = convert10To26(1);
    const ret2 = convert10To26(26);
    const ret3 = convert10To26(27);
    const ret4 = convert10To26(52);
    const ret5 = convert10To26(53);
    console.log(ret1, ret2, ret3, ret4, ret5);

    Output:

    a z aa az ba
    

    Parameters

    • num: number

    Returns string

    Return a lowercase 26-hex string.