## XmlConvert::ToDecimal method


Converts the [String](../../../system/string/) to a [Decimal](../../../system/decimal/) equivalent.

```cpp
static Decimal System::Xml::XmlConvert::ToDecimal(const String &s)
```


| Parameter | Type | Description |
| --- | --- | --- |
| s | const String\& | The string to convert. |

### ReturnValue

A **[Decimal](../../../system/decimal/)** equivalent of the string.

## See Also

* Class [Decimal](../../../system/decimal/)
* Class [String](../../../system/string/)
* Class [XmlConvert](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PUB for C++](../../../)
