Re: rounding to .5
Re: rounding to .5
- Subject: Re: rounding to .5
- From: Christian Brunschen <email@hidden>
- Date: Tue, 5 Jul 2005 14:06:07 +0200 (CEST)
On Tue, 5 Jul 2005, Christian Brunschen wrote:
double rounded = Math.round(2.0 * original) / 2.0;
... that should have been
double rounded = Math.rint(2.0 * original) / 2.0;
^^^^
My apologies,
// Christian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden