Instance Property


The formatter behavior of the receiver.


var formatterBehavior: NumberFormatter.Behavior { get set }

See Also

Configuring Formatter Behavior and Style

class func setDefaultFormatterBehavior(NumberFormatter.Behavior)

Sets the default formatter behavior for new instances of NSNumberFormatter .

class func defaultFormatterBehavior() -> NumberFormatter.Behavior

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

var numberStyle: NumberFormatter.Style

The number style used by the receiver.

var generatesDecimalNumbers: Bool

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