Typescript Html Number Formatting Javascript Download