## XmlConvert::ToSingle method


Converts the [String](../../../system/string/) to a [Single](../../../system/single/) equivalent.

```cpp
static float System::Xml::XmlConvert::ToSingle(String s)
```


| Parameter | Type | Description |
| --- | --- | --- |
| s | String | The string to convert. |

### ReturnValue

A [Single](../../../system/single/) equivalent of the string.

## See Also

* Class [String](../../../system/string/)
* Class [XmlConvert](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
