These constants specify predefined number format styles. These constants are used by the numberStyle and setNumberStyle: methods.
Available in Mac OS X v10.4 and later.
| C# | Visual Basic | Visual C++ |
public enum NSNumberFormatterStyle
Public Enumeration NSNumberFormatterStyle
public enum class NSNumberFormatterStyle
| Member | Description |
|---|---|
| NSNumberFormatterNoStyle | Specifies no style. Available in Mac OS X v10.4 and later. |
| NSNumberFormatterDecimalStyle | Specifies a decimal style format. Available in Mac OS X v10.4 and later. |
| NSNumberFormatterCurrencyStyle | Specifies a currency style format. Available in Mac OS X v10.4 and later. |
| NSNumberFormatterPercentStyle | Specifies a percent style format. Available in Mac OS X v10.4 and later. |
| NSNumberFormatterScientificStyle | Specifies a scientific style format. Available in Mac OS X v10.4 and later. |
| NSNumberFormatterSpellOutStyle | Specifies a spell-out format; for example, “23” becomes “twenty-three”. Available in Mac OS X v10.4 and later. |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)