[Previous] [Up] [Next]

NSNumberFormatter

Authors

Richard Frith-Macdonald

Version: $Revision$

Date: $Date$

NSNumberFormatter

NSNumberFormatter

Declared in: Foundation/NSNumberFormatter.h

Inherits from: NSFormatter

Conforms to: NSObject


Instance Variables

Methods


Instances Methods

allowsFloats

- (BOOL) allowsFloats;

attributedStringForNil

- (NSAttributedString*) attributedStringForNil;

attributedStringForNotANumber

- (NSAttributedString*) attributedStringForNotANumber;

attributedStringForZero

- (NSAttributedString*) attributedStringForZero;

decimalSeparator

- (NSString*) decimalSeparator;

format

- (NSString*) format;

hasThousandSeparators

- (BOOL) hasThousandSeparators;

localizesFormat

- (BOOL) localizesFormat;

maximum

- (NSDecimalNumber*) maximum;

minimum

- (NSDecimalNumber*) minimum;

negativeFormat

- (NSString*) negativeFormat;

positiveFormat

- (NSString*) positiveFormat;

roundingBehavior

- (NSDecimalNumberHandler*) roundingBehavior;

setAllowsFloats:

- (void) setAllowsFloats: (BOOL)flag;

setAttributedStringForNil:

- (void) setAttributedStringForNil: (NSAttributedString*)newAttributedString;

setAttributedStringForNotANumber:

- (void) setAttributedStringForNotANumber: (NSAttributedString*)newAttributedString;

setAttributedStringForZero:

- (void) setAttributedStringForZero: (NSAttributedString*)newAttributedString;

setDecimalSeparator:

- (void) setDecimalSeparator: (NSString*)newSeparator;

setFormat:

- (void) setFormat: (NSString*)aFormat;

setHasThousandSeparators:

- (void) setHasThousandSeparators: (BOOL)flag;

setLocalizesFormat:

- (void) setLocalizesFormat: (BOOL)flag;

setMaximum:

- (void) setMaximum: (NSDecimalNumber*)aMaximum;

setMinimum:

- (void) setMinimum: (NSDecimalNumber*)aMinimum;

setNegativeFormat:

- (void) setNegativeFormat: (NSString*)aFormat;

setPositiveFormat:

- (void) setPositiveFormat: (NSString*)aFormat;

setRoundingBehavior:

- (void) setRoundingBehavior: (NSDecimalNumberHandler*)newRoundingBehavior;

setTextAttributesForNegativeValues:

- (void) setTextAttributesForNegativeValues: (NSDictionary*)newAttributes;

setTextAttributesForPositiveValues:

- (void) setTextAttributesForPositiveValues: (NSDictionary*)newAttributes;

setThousandSeparator:

- (void) setThousandSeparator: (NSString*)newSeparator;

textAttributesForNegativeValues

- (NSDictionary*) textAttributesForNegativeValues;

textAttributesForPositiveValues

- (NSDictionary*) textAttributesForPositiveValues;

thousandSeparator

- (NSString*) thousandSeparator;