made CPDecimalNumber a subclass of CPNumber

This commit is contained in:
Klaas Pieter Annema committed 2010-05-05 12:14:55 +02:00
1 parent 4f721fc1e2
commit fd625c96d6
1 file changed
+8 -1
+8 -1
View File
@@ -158,11 +158,18 @@ _cappdefaultDcmHandler = [CPDecimalNumberHandler decimalNumberHandlerWithRoundin
mathematical operations to go with it.
This class is mutable.
*/
@implementation CPDecimalNumber : CPObject
@implementation CPDecimalNumber : CPNumber
{
CPDecimal _data;
}
+ (id)alloc
{
return class_createInstance(self);
}
// initializers
- (id)init
{