Thanks for that mate, I'll give it a try and see how it works. What I'm trying to do is have a text input box where it sets the decimal place on the fly, as the user inputs a number.
For example, the user types in 2350 and the box will display 23.50, with two decimal places always being shown during the input; IE with the example number provided, as the user enters the first digit "2" the box will show 0.02... then when the "3" is added it will display 0.23, then the "5" will make it 2.35, and lastly the zero should show 23.50
So far simply using the example provided by Ashley works well, until a "0" is present at the end of the input (because the 0 gets ignored unless followed by another number).
I'll play around with your example and see if I can get it to play nicely. Cheers!
Ended up as this for a working result:
Seems pretty solid!