mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-20 07:15:01 +00:00
made CPDecimalNumber a subclass of CPNumber
This commit is contained in:
1 parent
4f721fc1e2
commit
fd625c96d6
1 file changed
+8
-1
@@ -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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user