# implicit operator float

> Implicitly converts a half value to a float value.

## Definition

* **Type:** Operator
* **Namespace:** [Unity.Mathematics](/engine/6000.7/script-reference/unity/mathematics.md)
* **Assembly:** UnityEngine.MathematicsModule

## implicit operator float(Singl)

Implicitly converts a half value to a float value.

```csharp
public static implicit operator float(half d)
```

### Parameters

**** (\[half]\(/engine/6000.7/script-reference/unity/mathematics/half)): The half value to convert to a single precision float.

### Returns

| Type                                                          | Description                                 |
| ------------------------------------------------------------- | ------------------------------------------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | The converted single precision float value. |

## implicit operator double(Doubl)

Implicitly converts a half value to a double value.

```csharp
public static implicit operator double(half d)
```

### Parameters

**** (\[half]\(/engine/6000.7/script-reference/unity/mathematics/half)): The half value to convert to double precision float.

### Returns

| Type                                                           | Description                                 |
| -------------------------------------------------------------- | ------------------------------------------- |
| [double](https://learn.microsoft.com/dotnet/api/system.double) | The converted double precision float value. |
