ToDouble()
XmlConvert::ToDouble(String) method
Converts the String to a Double equivalent.
static double System::Xml::XmlConvert::ToDouble(String s)
Arguments
| Parameter | Type | Description |
|---|---|---|
| s | String | The string to convert. |
Return Value
A Double equivalent of the string.
Exceptions
| Exception | Description |
|---|---|
| ArgumentNullException | s is nullptr. |
| FormatException | s is not in the correct format. |
| OverflowException | s represents a number less than Double::MinValue or greater than Double::MaxValue. |
See Also
- Class String
- Class XmlConvert
- Namespace System::Xml
- Library Aspose.Slides