JSFiddle - React, Tailwind, and code Playground

by prozoroff

JavaScript

function compressNumber(num){
            var d = num%100;
            var h = num - d;
            return String.fromCharCode(d) + String.fromCharCode(h/100) ;
        }
        
        alert(compressNumber(224))