[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems with NSDoubleNumber
From: |
David Wetzel |
Subject: |
Re: problems with NSDoubleNumber |
Date: |
Sat, 12 Jun 2010 21:42:31 -0700 |
Am 12.06.2010 um 02:07 schrieb David Wetzel:
> Hi,
>
> this code has been working before and is working on OS, but this is current
> (svn) -base:
>
> // string is @"6.69"
> price = (NSDecimalNumber*) [NSDecimalNumber numberWithDouble:[myString
> doubleValue]];
> price = (NSDecimalNumber*) [price decimalNumberByDividingBy:[NSDecimalNumber
> numberWithInt:100]];
I changed my code.
http://www.cocoabuilder.com/archive/cocoa/227178-question-on-estimating-arraywithcapacity.html#227253
Cheers,
D.