Type Method

localizedStringFromNumber:numberStyle:

Returns a localized number string with the specified style.

Declaration

+ (NSString *)localizedStringFromNumber:(NSNumber *)num numberStyle:(NSNumberFormatterStyle)nstyle;

Parameters

num

The number to localize

localizationStyle

The localization style to use. See NSNumberFormatterStyle for the supported values.

Return Value

An appropriately formatted NSString.

See Also

Converting Between Numbers and Strings

- getObjectValue:forString:range:error:

Returns by reference a cell-content object after creating it from a range of characters in a given string.

- numberFromString:

Returns an NSNumber object created by parsing a given string.

- stringFromNumber:

Returns a string containing the formatted value of the provided number object.