I have an EditBox
in which I allow users to enter numbers. But my question is how can I restrict the user to enter not more than three-digit numbers before the decimal point and not more that one digit after decimal point eg: 22.1
, 333.3
, 34
but if the user try to enter 6666.777
it will not allowed them to enter.
Please help me to solve this out. If possible with an example