Click here to Skip to main content
15,887,477 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I have a textbox and the functionality of this textbox should be as follows.
If I enter 5, result should take the value as 5.00
If I enter 5.1, result should take the value as 5.10
similarly
for 5.123-5.12
5.12.3-5.12
5.1.2-5.10

I hope you understand the question and will reply soon...
Posted
Updated 31-Oct-10 20:59pm
v3

1 solution

Have a look at the masked edit box[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900