Instance Property


The number style used by the receiver.


@property NSNumberFormatterStyle numberStyle;


Styles are essentially predetermined sets of values for certain properties. Examples of number-formatter styles are those used for decimal values, percentage values, and currency.

See Also

Configuring Formatter Behavior and Style


The formatter behavior of the receiver.

+ setDefaultFormatterBehavior:

Sets the default formatter behavior for new instances of NSNumberFormatter .

+ defaultFormatterBehavior

Returns an NSNumberFormatterBehavior constant that indicates default formatter behavior for new instances of NSNumberFormatter.


Determines whether the receiver creates instances of NSDecimalNumber when it converts strings to number objects.

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