What's the easiest way to convert a number to a percentage in typescript code example Example: javascript percent to int parseFloat('42.42%');// => float val = 42.42