//
//  OANegate.m
//  drachma
//
//  Created by Niko Matsakis on 11/23/06.
//  Copyright 2006 __MyCompanyName__. All rights reserved.
//

#import "OANegateDecimalNumber.h"
#import "OACategories.h"

@implementation OANegateDecimalNumber

+ (Class) transfomedValueClass
{
    return [NSDecimalNumber class];
}

+ (BOOL) allowsReverseTransformation
{
    return YES;
}

- (id)transformedValue:(id)value
{
    return [value decimalNumberByNegation];
}

@end
