R
Russ Sherlock
I do not wish to re-invent the wheel by deriving a Decimal Number class from
a TextBox
How do I use a MaskedTextBox to input a number +/- with 2 decimal place
precision?
Eg +NNNNNNNNN.NN
or -NNNNNNNNN.NN
I haven't worked out how to make mask characters optional so that the
following are legal:
Legal
1
1.1
+1
-1
Illegal
1.
..123
1.123
Any help would be appreciated
Russ Sherlock
a TextBox
How do I use a MaskedTextBox to input a number +/- with 2 decimal place
precision?
Eg +NNNNNNNNN.NN
or -NNNNNNNNN.NN
I haven't worked out how to make mask characters optional so that the
following are legal:
Legal
1
1.1
+1
-1
Illegal
1.
..123
1.123
Any help would be appreciated
Russ Sherlock