I​Number​Parser I​Number​Parser I​Number​Parser Interface

Definition

An interface that parses a string representation of a numeric value.

public interface INumberParserpublic interface INumberParserPublic Interface INumberParser
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Methods

ParseDouble(String) ParseDouble(String) ParseDouble(String)

Attempts to parse a string representation of a Double numeric value.

public IReference<double> ParseDouble(String text)public IReference<double> ParseDouble(String text)Public Function ParseDouble(text As String) As IReference( Of double )
Parameters
text
System.String System.String System.String

The text to be parsed.

Returns

If successful, a Double that corresponds to the string representation, and otherwise null.

Attributes

ParseInt(String) ParseInt(String) ParseInt(String)

Attempts to parse a string representation of an integer numeric value.

public IReference<long> ParseInt(String text)public IReference<long> ParseInt(String text)Public Function ParseInt(text As String) As IReference( Of long )
Parameters
text
System.String System.String System.String

The text to be parsed.

Returns

If successful, an Int64 that corresponds to the string representation, and otherwise null.

Attributes

ParseUInt(String) ParseUInt(String) ParseUInt(String)

Attempts to parse a string representation of an unsigned integer numeric value.

public IReference<ulong> ParseUInt(String text)public IReference<ulong> ParseUInt(String text)Public Function ParseUInt(text As String) As IReference( Of ulong )
Parameters
text
System.String System.String System.String

The text to be parsed.

Returns

If successful, a UInt64 that corresponds to the string representation, and otherwise null.

Attributes