B
BobRoyAce
I have a RangeValidator control on a page that is supposed to make sure that
the user does not enter a value outside of the range 0-nn.nn, where nn.nn is
some monetary value. For example, let's say I don't want to allow users to
enter values greater than 500.00. The strange behavior I am seeing is that,
if I enter a value like 500.000, the control rejects the value (i.e. flags
it as invalid). In fact, if I enter 100.000, it rejects that too! It's like
the control is comparing the digits with disregard for decimal or something
(e.g. 100000 vs. 50000). What's the deal with this? Do I need to use a Type
other than Currency?
the user does not enter a value outside of the range 0-nn.nn, where nn.nn is
some monetary value. For example, let's say I don't want to allow users to
enter values greater than 500.00. The strange behavior I am seeing is that,
if I enter a value like 500.000, the control rejects the value (i.e. flags
it as invalid). In fact, if I enter 100.000, it rejects that too! It's like
the control is comparing the digits with disregard for decimal or something
(e.g. 100000 vs. 50000). What's the deal with this? Do I need to use a Type
other than Currency?