Instance Property

numberStyle

The number style used by the receiver.

Declaration

@property NSNumberFormatterStyle numberStyle;

Discussion

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

formatterBehavior

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.

generatesDecimalNumbers

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