Share via


DecimalFormat Class

Definition

[Android.Runtime.Register("android/icu/text/DecimalFormat", ApiSince=24, DoNotGenerateAcw=true)]
public class DecimalFormat : Android.Icu.Text.NumberFormat
[<Android.Runtime.Register("android/icu/text/DecimalFormat", ApiSince=24, DoNotGenerateAcw=true)>]
type DecimalFormat = class
    inherit NumberFormat
Inheritance
Derived
Attributes

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

DecimalFormat()
DecimalFormat(IntPtr, JniHandleOwnership)
DecimalFormat(String, DecimalFormatSymbols, CurrencyPluralInfo, NumberFormatStyles)
DecimalFormat(String, DecimalFormatSymbols)
DecimalFormat(String)

Fields

Accountingcurrencystyle
Obsolete.
(Inherited from NumberFormat)
Cashcurrencystyle
Obsolete.
(Inherited from NumberFormat)
Currencystyle
Obsolete.
(Inherited from NumberFormat)
FractionField
Obsolete.
(Inherited from NumberFormat)
IntegerField
Obsolete.
(Inherited from NumberFormat)
Integerstyle
Obsolete.
(Inherited from NumberFormat)
Isocurrencystyle
Obsolete.
(Inherited from NumberFormat)
MinimumGroupingDigitsAuto
MinimumGroupingDigitsMin2
Numberstyle
Obsolete.
(Inherited from NumberFormat)
PadAfterPrefix
PadAfterSuffix
PadBeforePrefix
PadBeforeSuffix
Percentstyle
Obsolete.
(Inherited from NumberFormat)
Pluralcurrencystyle
Obsolete.
(Inherited from NumberFormat)
Scientificstyle
Obsolete.
(Inherited from NumberFormat)
Standardcurrencystyle
Obsolete.
(Inherited from NumberFormat)

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
Currency (Inherited from NumberFormat)
CurrencyPluralInfo
CurrencyUsage
DecimalFormatSymbols
DecimalPatternMatchRequired
DecimalSeparatorAlwaysShown
ExponentSignAlwaysShown
FormatWidth
GroupingSize
GroupingUsed (Inherited from NumberFormat)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
MathContext
MathContextICU
MaximumFractionDigits (Inherited from NumberFormat)
MaximumIntegerDigits (Inherited from NumberFormat)
MaximumSignificantDigits
MinimumExponentDigits
MinimumFractionDigits (Inherited from NumberFormat)
MinimumGroupingDigits
MinimumIntegerDigits (Inherited from NumberFormat)
MinimumSignificantDigits
Multiplier
NegativePrefix
NegativeSuffix
PadCharacter
PadPosition
ParseBigDecimal
ParseCaseSensitive
ParseIntegerOnly (Inherited from NumberFormat)
ParseMaxDigits
ParseNoExponent
ParseStrict (Inherited from NumberFormat)
PeerReference (Inherited from Object)
PositivePrefix
PositiveSuffix
RoundingIncrement
RoundingMode (Inherited from NumberFormat)
ScientificNotation
SecondaryGroupingSize
SignAlwaysShown
ThresholdClass
ThresholdType

Methods

ApplyLocalizedPattern(String)
ApplyPattern(String)
AreSignificantDigitsUsed()
Clone()

Creates and returns a copy of this object.

(Inherited from _Format)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
Format(BigDecimal, StringBuffer, FieldPosition)
Format(BigDecimal, StringBuffer, FieldPosition)
Format(BigDecimal) (Inherited from NumberFormat)
Format(BigDecimal) (Inherited from NumberFormat)
Format(BigInteger, StringBuffer, FieldPosition)
Format(BigInteger) (Inherited from NumberFormat)
Format(CurrencyAmount, StringBuffer, FieldPosition) (Inherited from NumberFormat)
Format(CurrencyAmount) (Inherited from NumberFormat)
Format(Double, StringBuffer, FieldPosition)
Format(Double) (Inherited from NumberFormat)
Format(Int64, StringBuffer, FieldPosition)
Format(Int64) (Inherited from NumberFormat)
Format(Object, StringBuffer, FieldPosition) (Inherited from NumberFormat)
Format(Object)

Formats an object to produce a string.

(Inherited from _Format)
FormatToCharacterIterator(Object)

Formats an Object producing an AttributedCharacterIterator.

(Inherited from _Format)
GetContext(DisplayContext+Type) (Inherited from NumberFormat)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
Parse(String, ParsePosition)
Parse(String) (Inherited from NumberFormat)
ParseCurrency(ICharSequence, ParsePosition) (Inherited from NumberFormat)
ParseCurrency(String, ParsePosition) (Inherited from NumberFormat)
ParseObject(String, ParsePosition) (Inherited from NumberFormat)
ParseObject(String)

Parses text from the beginning of the given string to produce an object.

(Inherited from _Format)
SetContext(DisplayContext) (Inherited from NumberFormat)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetRoundingIncrement(BigDecimal)
SetRoundingIncrement(Double)
SetSignificantDigitsUsed(Boolean)
ToArray<T>() (Inherited from Object)
ToLocalizedPattern()
ToPattern()
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to