Java.Text.DecimalFormat Members

The members of Java.Text.DecimalFormat are listed below.

See Also: Inherited members from Java.Text.NumberFormat

Public Constructors

Constructs a new DecimalFormat for formatting and parsing numbers for the user's default locale.
Constructs a new DecimalFormat using the specified non-localized pattern and the DecimalFormatSymbols for the user's default Locale.
Constructs a new DecimalFormat using the specified non-localized pattern and DecimalFormatSymbols.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

DecimalFormatSymbolsDecimalFormatSymbols. Returns the DecimalFormatSymbols used by this decimal format.
DecimalSeparatorAlwaysShownbool. Indicates whether the decimal separator is shown when there are no fractional digits.
GroupingSizeint. Returns the number of digits grouped together by the grouping separator.
Multiplierint. Returns the multiplier which is applied to the number before formatting or after parsing.
NegativePrefixstring. Returns the prefix which is formatted or parsed before a negative number.
NegativeSuffixstring. Returns the suffix which is formatted or parsed after a negative number.
ParseBigDecimalbool. This value indicates whether the return object of the parse operation is of type BigDecimal.
PositivePrefixstring. Returns the prefix which is formatted or parsed before a positive number.
PositiveSuffixstring. Returns the suffix which is formatted or parsed after a positive number.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

ApplyLocalizedPattern(string)
Changes the pattern of this decimal format to the specified pattern which uses localized pattern characters.
ApplyPattern(string)
Changes the pattern of this decimal format to the specified pattern which uses non-localized pattern characters.
override
Format(Java.Lang.Object, Java.Lang.StringBuffer, FieldPosition) : Java.Lang.StringBuffer
Formats a number into a supplied buffer.
override
Format(double, Java.Lang.StringBuffer, FieldPosition) : Java.Lang.StringBuffer
Formats the specified double value as a string using the pattern of this number format and appends the string to the specified string buffer.
override
Format(long, Java.Lang.StringBuffer, FieldPosition) : Java.Lang.StringBuffer
Formats the specified long value as a string using the pattern of this number format and appends the string to the specified string buffer.
override
Parse(string, ParsePosition) : Java.Lang.Number
Parses a Long or Double from the specified string starting at the index specified by position.
ToLocalizedPattern() : string
Returns the pattern of this decimal format using localized pattern characters.
ToPattern() : string
Returns the pattern of this decimal format using non-localized pattern characters.