The members of Foundation.NSNumberFormatter are listed below.
See Also: Inherited members from Foundation.NSFormatter
| Default constructor that initializes a new instance of this class with no parameters. | ||
| A constructor that initializes the object from the data stored in the unarchiver object. |
| Constructor to call on derived classes to skip initialization and merely allocate the object. | ||
| A constructor used when creating managed representations of unmanaged objects; Called by the runtime. |
| AllowsFloats | bool. Whether floats can be used for input. | |
| AlwaysShowsDecimalSeparator | bool. Whether the decimal separator should always be shown, even if the number is an integer. | |
| [read-only] override | ClassHandle | IntPtr. The handle for this class. |
| CurrencyCode | string. The currency code, as a string. | |
| CurrencyDecimalSeparator | string. The currency decimal separator. | |
| CurrencyGroupingSeparator | string. The currency grouping separator. | |
| CurrencySymbol | string. The local currency symbol. | |
| DecimalSeparator | string. The decimal separator string. | |
static | DefaultFormatterBehavior | NSNumberFormatterBehavior. An NSNumberFormatterBehavior constant defining default formatting. |
| ExponentSymbol | string. The string used as an exponent symbol. | |
| FormatterBehavior | NSNumberFormatterBehavior. The formatter behavior of this. | |
| FormatWidth | nuint. The format width of this. | |
| GeneratesDecimalNumbers | bool. Whether this creates decimals when converting strings to numbers. | |
| GroupingSeparator | string. The grouping separator. | |
| GroupingSize | nuint. The primary grouping size for this. | |
| InternationalCurrencySymbol | string. The international currency symbol used by this. | |
| Lenient | bool. | |
| Locale | NSLocale. The locale of this. | |
| Maximum | NSNumber. The highest number allowed as input. | |
| MaximumFractionDigits | nint. The maximum number of places after the decimal separator. | |
| MaximumIntegerDigits | nint. The maximum number of integer digits allowed as input or output. | |
| MaximumSignificantDigits | nuint. The maximum number of significant digits. | |
| Minimum | NSNumber. The lowest number allowed as input. | |
| MinimumFractionDigits | nint. The minimum number of digits after the decimal separated allowed as input or output. | |
| MinimumIntegerDigits | nint. The minimum number of integer digits allowed as input or output. | |
| MinimumSignificantDigits | nuint. The minimum number of significant digits. | |
| MinusSign | string. The string used to represent the minus sign. | |
| Multiplier | NSNumber. The multiplier used by this. | |
| NegativeFormat | string. The format used by this to display negative numbers. | |
| NegativeInfinitySymbol | string. The string used to represent negative infinity. | |
| NegativePrefix | string. The string used as a prefix for negative values. | |
| NegativeSuffix | string. The string used as a suffix for negative values. | |
| NilSymbol | string. The string used to represent a nil value. | |
| NotANumberSymbol | string. The string used to represent NaN. | |
| NumberStyle | NSNumberFormatterStyle. Returns the number-formatter style. | |
| PaddingCharacter | string. The string used as a padding character. | |
| PaddingPosition | NSNumberFormatterPadPosition. The padding position. | |
| PartialStringValidationEnabled | bool. Whether partial string validation is currently enabled. | |
| PercentSymbol | string. The string used to represent the percent symbol. | |
| PerMillSymbol | string. The string used to represent the per-thousands symbol. | |
| PlusSign | string. The string used to represent the plus sign. | |
| PositiveFormat | string. The format used to display positive numbers. | |
| PositiveInfinitySymbol | string. The string used to represent positive infinity. | |
| PositivePrefix | string. The string used as a prefix for the positive values. | |
| PositiveSuffix | string. The string used as a suffix for positive values. | |
| RoundingIncrement | NSNumber. The rounding increment. | |
| RoundingMode | NSNumberFormatterRoundingMode. The rounding mode. | |
| SecondaryGroupingSize | nuint. The size of secondary groupings. | |
| TextAttributesForNegativeInfinity | NSDictionary. The text attributes used to display negative infinity. | |
| TextAttributesForNegativeValues | NSDictionary. The text attributes used for negative numbers. | |
| TextAttributesForNil | NSDictionary. The text attributes used for the nil symbol. | |
| TextAttributesForNotANumber | NSDictionary. The text attributes used for the NaN symbol. | |
| TextAttributesForPositiveInfinity | NSDictionary. The text attributes used for the infinity symbol. | |
| TextAttributesForPositiveValues | NSDictionary. The text attributes used for positive values. | |
| TextAttributesForZero | NSDictionary. The text attributes used for the value zero. | |
| UsesGroupingSeparator | bool. Whether the grouping separator is used. | |
| UsesSignificantDigits | bool. Whether significant digits are used. | |
| ZeroSymbol | string. The string used to represent the value zero. |
static | LocalizedStringFromNumbernumberStyle(NSNumber, NSNumberFormatterStyle)Creates a localized string for the specified number and NSNumberFormatterStyle. | |
NumberFromString(string)Parses the specified text. | ||
StringFromNumber(NSNumber)Converts the specified number into a string, according to current state. | ||