# ValueToString(float)

> Converts the given float to a string.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.UIElements](/engine/6000.7/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
protected override string ValueToString(float v)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The float to be converted to string.

### Returns

| Type                                                           | Description          |
| -------------------------------------------------------------- | -------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | The float as string. |
