--- 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
>
> languages) have limitted precision. 90.0f =
Michael Vogt wrote:
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
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
3 matches
Mail list logo