[Previous] [Up] [Next]

NSNumberFormatter

Authors

Richard Frith-Macdonald

Version: 0.1

Date: 28 February, 2000

NSNumberFormatter

NSNumberFormatter

Declared in: Foundation/NSNumberFormatter.h

Inherits from: NSFormatter

Conforms to: NSObject



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