Re: Sun vs. Microsoft JVMs
From: Roedy Green (look-on_at_mindprod.com.invalid)
Date: 07/30/04
- Next message: Roedy Green: "Re: Sun vs. Microsoft JVMs"
- Previous message: NB: "NoClassDefFoundError with MSJVM but not with Sun's JVM"
- In reply to: Rogan Dawes: "Re: Sun vs. Microsoft JVMs"
- Next in thread: Roedy Green: "Re: Sun vs. Microsoft JVMs"
- Reply: Roedy Green: "Re: Sun vs. Microsoft JVMs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Jul 2004 14:30:05 GMT
On Fri, 30 Jul 2004 15:56:55 +0200, Rogan Dawes <discard@dawes.za.net>
wrote or quoted :
>
>If you are checking the float that the user enters has 2 decimal points
>(e.g. a currency), then serialise it and send it to the server, which
>then uses that number, it is not important to check that the number is
>still only precise to 2 decimal points?
You don't send a float. You send an int or long scaled by 100.
All you need is the bounds check.
-- Canadian Mind Products, Roedy Green. Coaching, problem solving, economical contract programming. See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
- Next message: Roedy Green: "Re: Sun vs. Microsoft JVMs"
- Previous message: NB: "NoClassDefFoundError with MSJVM but not with Sun's JVM"
- In reply to: Rogan Dawes: "Re: Sun vs. Microsoft JVMs"
- Next in thread: Roedy Green: "Re: Sun vs. Microsoft JVMs"
- Reply: Roedy Green: "Re: Sun vs. Microsoft JVMs"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|