• 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
floats and number formatters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

floats and number formatters


  • Subject: floats and number formatters
  • From: John Spicer <email@hidden>
  • Date: Wed, 14 Jul 2004 17:04:46 -0500

I have a field that receives a calculated value. I have a formatter on the field, set to +/-9999.99 (two digit precision).

The calculation returns something like 44.4599999, I **thought** the formatter would round it to two digits (i.e. 44.46) but that's not what I'm getting. I do get displayed 44.4599999.

What am I missing?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: floats and number formatters
      • From: "Louis C. Sacha" <email@hidden>
    • Re: floats and number formatters
      • From: Daniel Todd Currie <email@hidden>
  • Prev by Date: Re: Child and Parent windows have dysfunctional relationship?
  • Next by Date: NSOpenGLView subclass draw issues in NSPanel
  • Previous by thread: Re: WebDocumentText
  • Next by thread: Re: floats and number formatters
  • Index(es):
    • Date
    • Thread