Question
I have all the input masks set-up however I'm struggling to figure this one out logically..
So I have an input field for Gigabecquerels. However, as it currently stands the input could be like this 1,428.22Gbq
, 428.22Gbq
, 22.80Gbq
So, how does one account for this? I could simply just place the gbq after the textfield has finished editing, however I would prefer to do it with an input mask, whilst also making it easy-to-use and not confusing.
$("#gbq").mask("9,999.99Gbq");
Any help is greatly appreciated, thank you.
EDIT
Think of it like this,
Focused
__________ (press period)
2236______ (press period)
period pressed
2,236.__Gbq
2,236.66Gbq