DecimalFormat ClassDecimalFormat ClassDecimalFormat Class

A class representing information for formatting numbers.

Inheritance Hierarchy

Syntax

Public Class DecimalFormat
public class DecimalFormat
public:
ref class DecimalFormat
 
The DecimalFormatDecimalFormatDecimalFormat type exposes the following members.

Constructors

 ConstructorDescription
Public methodDecimalFormat ()DecimalFormat ()DecimalFormat () Initializes a new instance of the DecimalFormatDecimalFormatDecimalFormat class.
Public methodDecimalFormat (DecimalFormat)DecimalFormat (DecimalFormat)DecimalFormat (DecimalFormat^) Initializes a new instance of the DecimalFormatDecimalFormatDecimalFormat class from another DecimalFormatDecimalFormatDecimalFormat.

Top

Properties

 PropertyDescription
Public propertyDecimalSeparatorDecimalSeparatorDecimalSeparator Gets or sets the character used for the decimal-separator-sign,
Public propertyDigitDigitDigit Gets or sets the character used for the digit-sign in the picture string.
Public propertyExponentSeparatorExponentSeparatorExponentSeparator Gets or sets the character used for the exponent-separator-sign.
Public propertyGroupingSeparatorGroupingSeparatorGroupingSeparator Gets or sets the character used for the grouping-sign, which is typically used as a thousands separator.
Public propertyInfinityInfinityInfinity Gets or sets the string used for the infinity-symbol.
Public propertyMinusSignMinusSignMinusSign Gets or sets the character used for the minus-symbol.
Public propertyNotANumberNotANumberNotANumber Gets or sets the string used for the NaN-symbol, which is used to represent the value NaN (not-a-number).
Public propertyPatternSeparatorPatternSeparatorPatternSeparator Gets or sets the character used for the pattern-separator-sign, which separates positive and negative sub-pictures in a picture string.
Public propertyPerMillePerMillePerMille Gets or sets the character used for the per-mille-sign.
Public propertyPercentPercentPercent Gets or sets the character used for the percent-sign.
Public propertyZeroDigitZeroDigitZeroDigit Gets or sets the character used for the digit-zero-sign.

Top

Methods

 MethodDescription
Public methodObject.EqualsObject.EqualsObject::EqualsDetermines whether the specified object is equal to the current object.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.FinalizeObject.FinalizeObject::FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.GetHashCodeObject.GetHashCodeObject::GetHashCodeServes as the default hash function. (Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.GetTypeObject.GetTypeObject::GetTypeGets the TypeTypeType of the current instance.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Protected methodObject.MemberwiseCloneObject.MemberwiseCloneObject::MemberwiseCloneCreates a shallow copy of the current objectObjectobject.(Inherited from System.ObjectSystem.ObjectSystem::Object)
Public methodObject.ToStringObject.ToStringObject::ToStringReturns a string that represents the current object.(Inherited from System.ObjectSystem.ObjectSystem::Object)

Top

Remarks

This class represents information used for formatting numbers using the fn:format-number function defined in XPath and XQuery Functions and Operators 3.0.