ToDouble()

XmlConvert::ToDouble(String) method

Converts the String to a Double equivalent.

static double System::Xml::XmlConvert::ToDouble(String s)

Arguments

ParameterTypeDescription
sStringThe string to convert.

Return Value

A Double equivalent of the string.

Exceptions

ExceptionDescription
ArgumentNullExceptions is nullptr.
FormatExceptions is not in the correct format.
OverflowExceptions represents a number less than Double::MinValue or greater than Double::MaxValue.

See Also