• 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: NSNumberFormatter Strangeness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSNumberFormatter Strangeness


  • Subject: Re: NSNumberFormatter Strangeness
  • From: Conrad Shultz <email@hidden>
  • Date: Thu, 24 Nov 2011 14:46:51 -0800

On 11/24/11 2:27 PM, Jean-Daniel Dupas wrote:
> Just a question. Why do you need a max frag digit greater than a couple of tens ?

I'm writing a custom formatter that will be used in the context of a
scientific application and which will take as input a potentially very
precise decimal.  The formatter will do a number of manipulations but in
general I don't want to lose precision.

In practice, of course, merely using NSDecimal greatly reduces the
available precision, so my question is not of the "I need this to work"
category but rather of the "should I file a bug on this in case someone
else encounters this behavior and really does need this to work" category.

(At the very least, I feel that the documentation should note if there
are restrictions on input beyond what is dictated by data type.)


--
Conrad Shultz

Synthetiq Solutions
www.synthetiqsolutions.com
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSNumberFormatter Strangeness
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >NSNumberFormatter Strangeness (From: Conrad Shultz <email@hidden>)
 >Re: NSNumberFormatter Strangeness (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: NSNumberFormatter Strangeness
  • Next by Date: Re: NSNumberFormatter Strangeness
  • Previous by thread: Re: NSNumberFormatter Strangeness
  • Next by thread: Re: NSNumberFormatter Strangeness
  • Index(es):
    • Date
    • Thread