Re: sorry .09 instead of .08
- From: Thomas Hawtin <usenet@xxxxxxxxxxxxxxxxx>
- Date: Sun, 29 Jan 2006 23:14:44 +0000
James Westby wrote:
The problem is that you can't use floating point arithmetic (doubles) to do precise arithmetic. If possible then you should try using fixed point arithmetic. e.g.
It's probably better to use BigDecimal in most situations.
Tom Hawtin -- Unemployed English Java programmer http://jroller.com/page/tackline/ .
- Follow-Ups:
- Re: sorry .09 instead of .08
- From: zero
- Re: sorry .09 instead of .08
- References:
- sorry .09 instead of .08
- From: joshdalrymple2000
- Re: sorry .09 instead of .08
- From: James Westby
- sorry .09 instead of .08
- Prev by Date: Re: JAR file which needs to call another jar file....
- Next by Date: Re: sorry .09 instead of .08
- Previous by thread: Re: sorry .09 instead of .08
- Next by thread: Re: sorry .09 instead of .08
- Index(es):
Relevant Pages
|