INumberFormatter
INumberFormatter
INumberFormatter
INumberFormatter
Interface
Definition
An interface that returns a string representation of a provided value, using an overloaded Format method to format several data types.
public : interface INumberFormatterpublic interface INumberFormatterPublic Interface INumberFormatter// You can use this interface in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Methods
Format(Double) Format(Double) Format(Double) Format(Double)
Returns a string representation of a Double value.
public : PlatForm::String Format(double value)public string Format(Double value)Public Function Format(value As Double) As string// You can use this method in JavaScript.
Parameters
- value
- double Double Double Double
The Double value to be formatted.
Returns
PlatForm::String
string
string
string
A string that represents the value.
- See Also
Format(Int64) Format(Int64) Format(Int64) Format(Int64)
Returns a string representation of an Int64 value.
public : PlatForm::String Format(long value)public string Format(Int64 value)Public Function Format(value As Int64) As string// You can use this method in JavaScript.
Parameters
- value
- long Int64 Int64 Int64
The Int64 value to be formatted.
Returns
PlatForm::String
string
string
string
A string that represents the value.
- See Also
Format(UInt64) Format(UInt64) Format(UInt64) Format(UInt64)
Returns a string representation of a UInt64 value.
public : PlatForm::String Format(unsigned __int64 value)public string Format(UInt64 value)Public Function Format(value As UInt64) As string// You can use this method in JavaScript.
Parameters
- value
- unsigned __int64 UInt64 UInt64 UInt64
The UInt64 value to be formatted.
Returns
PlatForm::String
string
string
string
A string that represents the value.
- See Also