# ToDouble(RationalTime)

> Converts the data type to Double.

## Definition

* **Type:** Method
* **Namespace:** [Unity.IntegerTime](/engine/6000.5/script-reference/unity/integertime.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static double ToDouble(this RationalTime value)
```

### Parameters

**** (\[RationalTime]\(/engine/6000.5/script-reference/unity/integertime/rationaltime)): The RationalTime value.

### Returns

| Type                                                           | Description                                                      |
| -------------------------------------------------------------- | ---------------------------------------------------------------- |
| [double](https://learn.microsoft.com/dotnet/api/system.double) | The Double representation for rational time (potentially lossy). |
