Java.Text.NumberFormat: Method Members

The methods of Java.Text.NumberFormat are listed below. For a list of all members, see the NumberFormat Members list.

See Also: Inherited members from Java.Text._Format

Public Methods

Format(double) : string
Formats the specified double using the rules of this number format.
Format(long) : string
Formats the specified long using the rules of this number format.
override
Format(Java.Lang.Object, Java.Lang.StringBuffer, FieldPosition) : Java.Lang.StringBuffer
Formats a number into a supplied buffer.
abstract
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.
abstract
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.
static
GetAvailableLocales() : Java.Util.Locale[]
Returns an array of locales for which custom NumberFormat instances are available.
static
GetCurrencyInstance(Java.Util.Locale) : NumberFormat
Returns a NumberFormat for formatting and parsing currency values for the specified locale.
static
GetInstance(Java.Util.Locale) : NumberFormat
Returns a NumberFormat for formatting and parsing numbers for the specified locale.
static
GetIntegerInstance(Java.Util.Locale) : NumberFormat
Returns a NumberFormat for formatting and parsing integers for the specified locale.
static
GetNumberInstance(Java.Util.Locale) : NumberFormat
Returns a NumberFormat for formatting and parsing numbers for the specified locale.
static
GetPercentInstance(Java.Util.Locale) : NumberFormat
Returns a NumberFormat for formatting and parsing percentage values for the given locale.
Parse(string) : Java.Lang.Number
Parses a Number from the specified string using the rules of this number format.
abstract
Parse(string, ParsePosition) : Java.Lang.Number
Parses a Number from the specified string starting at the index specified by position.
override
ParseObject(string, ParsePosition) : Java.Lang.Object
Parses the specified string starting at the index specified by position.