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
double Double Double

The Double value to be formatted.

Returns
PlatForm::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(long value)public string FormatInt(Int64 value)Public Function FormatInt(value As Int64) As string
Parameters
value
long Int64 Int64

The Int64 value to be formatted.

Returns
PlatForm::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(unsigned __int64 value)public string FormatUInt(UInt64 value)Public Function FormatUInt(value As UInt64) As string
Parameters
value
unsigned __int64 UInt64 UInt64

The UInt64 value to be formatted.

Returns
PlatForm::String string string

A string that represents the value.

Attributes