G
Guest
Hello,
Can I have advice on the best method to discern the precision of numbers in
a text box? My objective is to be able to validate numeric entries in a text
box and provide an error message when the precision is not according to
business rules. For example, a business rule for one text box may be that the
user must enter whole numbers only. For another text box, they can enter
whole numbers or one number to the right of the decimal point. Thus 4, 4.3,
and .5 are valid entries and 4.33 is not a valid entry.
I'd like to stay away from recognizing periods or commas so process stays
cultural neutral (if possible).
Thanks in advance!
Jack
Can I have advice on the best method to discern the precision of numbers in
a text box? My objective is to be able to validate numeric entries in a text
box and provide an error message when the precision is not according to
business rules. For example, a business rule for one text box may be that the
user must enter whole numbers only. For another text box, they can enter
whole numbers or one number to the right of the decimal point. Thus 4, 4.3,
and .5 are valid entries and 4.33 is not a valid entry.
I'd like to stay away from recognizing periods or commas so process stays
cultural neutral (if possible).
Thanks in advance!
Jack