Have you considered using RangeValidation as an alternative? This may not meet your requirements, but it gives you the opportunity to specify the type of input that you expect, which can be any of a string, integer, double, date or currency. Choosing a double or exchange rate and setting the MinimumValue and MaximumValue properties to values ββthat match your input requirements can do the trick.
source share