Re: [Pyobjc-dev] NSDecimalNumber to the next level
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2004-03-10 07:04:15
|
On 10-mrt-04, at 7:41, Ronald Oussoren wrote: > >>> Foundation.NSDecimalNumber.zero().decimalNumberByAdding_(1.0) > 0 > > The last one is a bug, it should raise TypeError just like: The problem seems to be in NSDecimalNumber not PyObjC: >>> Foundation.NSDecimalNumber.zero().decimalNumberByAdding_("a") 0 -- X|support bv http://www.xsupport.nl/ T: +31 610271479 F: +31 204416173 |