Instance Method

stringFromNumber:

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

Declaration

- (NSString *)stringFromNumber:(NSNumber *)number;

Parameters

number

An NSNumber object that is parsed to create the returned string object.

Return Value

A string containing the formatted value of number using the receiver’s current settings.

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.

+ localizedStringFromNumber:numberStyle:

Returns a localized number string with the specified style.