INumberFormatter2 INumberFormatter2 INumberFormatter2 INumberFormatter2 INumberFormatter2 Interface


An interface that returns a string representation of a provided value, using distinct format methods to format several data types.

public : interface INumberFormatter2
struct winrt::Windows::Globalization::NumberFormatting::INumberFormatter2
public interface INumberFormatter2
Public Interface INumberFormatter2
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


FormatDouble(Double) FormatDouble(Double) FormatDouble(Double) FormatDouble(Double) FormatDouble(Double)

Returns a string representation of a Double value.

FormatInt(Int64) FormatInt(Int64) FormatInt(Int64) FormatInt(Int64) FormatInt(Int64)

Returns a string representation of an Int64 value.

FormatUInt(UInt64) FormatUInt(UInt64) FormatUInt(UInt64) FormatUInt(UInt64) FormatUInt(UInt64)

Returns a string representation of a UInt64 value.