[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug #13608] float mismatch in textfield
From: |
comrade |
Subject: |
Re: [bug #13608] float mismatch in textfield |
Date: |
Sun, 3 Jul 2005 02:57:46 +1000 |
User-agent: |
Mutt/1.5.9i |
On Sat, Jul 02, 2005 at 12:48:34PM -0300, Benhur Stein wrote:
> Yes, it is. A float number has approximately 6 decimal digits of precision
> (24 bits).
>
> Is there a way to do calculations with precision with Foundation/AppKit?
Check out NSDecimalNumber - arbitrary precision, you can override
certain built-in rounding behaviours and exceptions using
NSDecimalNumberHandler if your application needs it.
Peter