Share via


PercentFormatter.ParseDouble(String) Method

Definition

Attempts to parse a string representation of a Double percentage.

public:
 virtual IReference<double> ^ ParseDouble(Platform::String ^ text) = ParseDouble;
IReference<double> ParseDouble(winrt::hstring const& text);
public System.Nullable<double> ParseDouble(string text);
function parseDouble(text)
Public Function ParseDouble (text As String) As Nullable(Of Double)

Parameters

text
String

Platform::String

winrt::hstring

The text to be parsed.

Returns

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

Implements

M:Windows.Globalization.NumberFormatting.INumberParser.ParseDouble(System.String) M:Windows.Globalization.NumberFormatting.INumberParser.ParseDouble(Platform::String) M:Windows.Globalization.NumberFormatting.INumberParser.ParseDouble(winrt::hstring)

Applies to