gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problems with NSDoubleNumber


From: Richard Frith-Macdonald
Subject: Re: problems with NSDoubleNumber
Date: Sun, 13 Jun 2010 07:48:20 +0100

On 12 Jun 2010, at 10:07, David Wetzel wrote:

> 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]];    
> 
> 
> (<NSException: 0x7f7ff88e3e60> NAME:NSInvalidArgumentException 
> REASON:NSDoubleNumber(instance) does not recognize decimalNumberByDividingBy: 
> INFO:(nil))

I fixed that in svn trunk.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]