Add code to format input currency

Code is pretty slow and crush all calculations