RangeValidator and CompareValidator does not recognize scientific

RangeValidator and CompareValidator does not recognize scientific

am 23.01.2008 22:15:44 von 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.