I​Number​Formatter2 I​Number​Formatter2 I​Number​Formatter2 Interface

Definition

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

public interface INumberFormatter2public interface INumberFormatter2Public Interface INumberFormatter2
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Methods

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

Returns a string representation of a Double value.

public PlatForm::String FormatDouble(Double value)public string FormatDouble(Double value)Public Function FormatDouble(value As Double) As string
Parameters
value
System.Double System.Double System.Double

The Double value to be formatted.

Returns
string string string

A string that represents the value.

Attributes

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

Returns a string representation of an Int64 value.

public PlatForm::String FormatInt(Int64 value)public string FormatInt(Int64 value)Public Function FormatInt(value As Int64) As string
Parameters
value
System.Int64 System.Int64 System.Int64

The Int64 value to be formatted.

Returns
string string string

A string that represents the value.

Attributes

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

Returns a string representation of a UInt64 value.

public PlatForm::String FormatUInt(UInt64 value)public string FormatUInt(UInt64 value)Public Function FormatUInt(value As UInt64) As string
Parameters
value
System.UInt64 System.UInt64 System.UInt64

The UInt64 value to be formatted.

Returns
string string string

A string that represents the value.

Attributes