I have a textfield price. The user has to input a price(currency) into it. I would like to do something so that when the user types in a curreny it will automatically add the commas and the zero when needed.
If the user was to type in 1000000 it will go as 100,000 or 3.5 it will go as 3.50.
Can you give me a hint on how to achieve this?