• 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
rounded decimals?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rounded decimals?


  • Subject: rounded decimals?
  • From: "Brett O'Donnell" <email@hidden>
  • Date: Thu, 7 Apr 2005 15:52:21 -0500

(Sorry if this is a newbie question)

What is the easiest way to round a double number to a certain decimal place?

The line is currently

[textRho setDoubleValue:rho];

Thanks in advance for any help you can give.

Thanks,
Brett O'Donnell
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: rounded decimals?
      • From: Finlay Dobbie <email@hidden>
    • Re: rounded decimals?
      • From: Dave DeLong <email@hidden>
  • Prev by Date: Re: help with program please?
  • Next by Date: Bring all to front not working?
  • Previous by thread: Re: NSDocument Application Close
  • Next by thread: Re: rounded decimals?
  • Index(es):
    • Date
    • Thread