ISC
asked on
Mask Text Control
Hi,
I want a mask input control with the following behaviour...
The user can only enter a floating point number with either two, one, zero signifiacnt digits and up to six digits after the decimal point (this number represents a rate) the user should also be able to enter a minus sign (if required) to represent a negative rate....
How do I acheive this...? Is a "MaskedTextbox" the best way to achieve this..?
Thanks Ian
I want a mask input control with the following behaviour...
The user can only enter a floating point number with either two, one, zero signifiacnt digits and up to six digits after the decimal point (this number represents a rate) the user should also be able to enter a minus sign (if required) to represent a negative rate....
How do I acheive this...? Is a "MaskedTextbox" the best way to achieve this..?
Thanks Ian
I am sorry,my comment about masked text box was wrong.That is a formatter but for you we need to look into regex
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for this I learnt something new...
For you you need a regular expression