• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: rounding to .5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rounding to .5


  • Subject: Re: rounding to .5
  • From: Dev WO <email@hidden>
  • Date: Tue, 5 Jul 2005 14:13:38 +0200

Mmmm, let's say thank you Christian, this works like a charm;)
my java knowledge is improving everyday, but I started from the very beginning;)


Thanks again.

Xavier




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
  • Follow-Ups:
    • Re: rounding to .5
      • From: Robert Walker <email@hidden>
References: 
 >rounding to .5 (From: Dev WO <email@hidden>)
 >Re: rounding to .5 (From: Christian Brunschen <email@hidden>)
 >Re: rounding to .5 (From: Christian Brunschen <email@hidden>)

  • Prev by Date: Re: rounding to .5
  • Next by Date: Re: WO Builder Icons vs. Menues
  • Previous by thread: Re: rounding to .5
  • Next by thread: Re: rounding to .5
  • Index(es):
    • Date
    • Thread