Re: Struts Validator floatRange has roundoff error
--- Laurie Harper <[EMAIL PROTECTED]> wrote: > Michael Vogt wrote: > > > > Is this a known problem or the expecxted behaviour? > > What is the best way to work around it? > > That's the expected behaviour. Floats in Java (as in most programming > &g
Struts Validator floatRange has roundoff error
The Struts Validator floatRange seems to have roundoff error. For the validation.xml configuration snippet below, user input of 90.1 fails validation, as expected, but 90.01 does not. min -90 max