In base-2 floating-point arithmetic, 0.3 and 0.9 are repeating fractions, not exact numbers. You can exert some control over formatting of floating-point numbers with java.text.NumberFormat to hide this, but it's just a fact of binary arithmetic. Nathan ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
- (0.3 * 3) = 0,8999999999 ???? Alessio Dragoni
- Re: (0.3 * 3) = 0,8999999999 ???? Gerrit Cap
- Re: (0.3 * 3) = 0,8999999999 ???? dan
- Re: (0.3 * 3) = 0,8999999999 ???? Georg Acher
- Re: (0.3 * 3) = 0,8999999999 ???? Ernst de Haan
- Re: (0.3 * 3) = 0,8999999999 ???? Nathan Meyers
- Re: (0.3 * 3) = 0,8999999999 ???? Wim Ceulemans
- Re: (0.3 * 3) = 0,8999999999 ???? Ken McNeil