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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software