A
Andrew Han
I have a simple textbox where a user can enter a numeric value.
The RangeValidator works perfectly well to determine if the value is a
number of whatever type I specify AND to determine if the value sits
between the min and max values I specify.
However, if the user enters a valid number within the specified range,
but enters it in scientific notation, the RangeValidator doesn't
recognize it as a valid number.
Example:
the RangeValidator checks to make sure the entered value is an Integer
between 0 and 1000. The user enters "3e2"... a valid number in that
range, but the RangeValidator fails....
How can i get it to recognize scientific notation?
thanks.
The RangeValidator works perfectly well to determine if the value is a
number of whatever type I specify AND to determine if the value sits
between the min and max values I specify.
However, if the user enters a valid number within the specified range,
but enters it in scientific notation, the RangeValidator doesn't
recognize it as a valid number.
Example:
the RangeValidator checks to make sure the entered value is an Integer
between 0 and 1000. The user enters "3e2"... a valid number in that
range, but the RangeValidator fails....
How can i get it to recognize scientific notation?
thanks.