NumberFormatter Properties

Spotfire 14.3 API Reference

The NumberFormatter type exposes the following members.

Properties

  NameDescription
Public propertyCategory
Gets or sets the NumberFormatCategory.
Public propertyCultureInfo
Gets or sets a CultureInfo object that defines the default formatting.
(Inherited from DataFormatterBase.)
Public propertyCultureName
Gets or sets the name of the culture that defines the default formatting.
(Inherited from DataFormatterBase.)
Public propertyCurrencyCulture
Gets or sets a culture that defines the currency formatting. The following properties are used: CurrencySymbol and CurrencyPositivePattern.
Public propertyCurrencyCultureName
Gets or sets the name of the culture that defines the currency formatting.
Public propertyDecimalDigits
Gets or sets the number of decimal digits. If not explicitly set, a default value is returned according to the current Category: General: -1 (not applicable)Number: CultureInfo.NumberFormat.NumberDecimalDigitsCurrency: CultureInfo.NumberFormat.CurrencyDecimalDigitsPercentage: CultureInfo.NumberFormat.PercentDecimalDigitsScientific: 6 Custom: -1 (not applicable)
Public propertyDecimalDigitsMode
Gets or sets a value indicating how decimal digits should be handled. DecimalDigitsMode.
Public propertyEmptyString
Gets or sets the string used to indicate empty values. (FormatInvalid(String)).
(Inherited from DataFormatterBase.)
Public propertyExactParse
Gets or sets a value indicating whether the format of the string representation must match the specified format exactly or not. Default is false.
(Inherited from DataFormatterBase.)
Protected propertyFormatInfo
Gets the number formatting according to the current configuration of the DecimalDigits, GroupSeparatorEnabled, NegativePattern and CurrencyCulture properties.
Public propertyFormatString
Gets or sets a format string that defines how values are formatted.
Public propertyGroupSeparatorEnabled
Gets or sets a value indicating whether the group separator is enabled or not.
Public propertyIsLocalized
Gets a value indicating whether this formatter is localized and always uses CultureInfo derived from the current running thread or not.
(Inherited from DataFormatterBase.)
Public propertyIsReadOnly
Gets a value indicating whether the formatter is read-only or not.
(Inherited from DataFormatterBase.)
Public propertyNegativePattern
Gets or sets the NumberFormatNegativePattern.
Public propertyNumberStyles
Gets or sets a NumberStyles object that defines how string representations are parsed.
Public propertyShortFormattingEnabled
Gets or sets a value indicating whether or not short number formatting should be used.
Public propertyShortFormattingSymbolScheme
Gets or sets the symbol scheme to use for short number formatting.
Public propertyUseEngineeringNotation
Gets or sets a value indicating whether or not engineering notation should be used, which rounds the exponent in scientific formatting to a multiple of 3. The default value is false.
Top
See Also

Reference