1 -> 26 -> 27 = A -> Z -> AA
function convert(num){
return num <= 26 ?
String.fromCharCode(num + 64) : convert(~~((num - 1) / 26)) + convert(num % 26 || 26);
}
1 -> 26 -> 27 = A -> Z -> AA
function convert(num){
return num <= 26 ?
String.fromCharCode(num + 64) : convert(~~((num - 1) / 26)) + convert(num % 26 || 26);
}