# Sandbox.UI.GraphAxis.Fraction

```csharp
float Fraction(double value)
```

Map an axis value to its fraction along the axis, including reversal.

### Parameters

- `value` (`double`)

### Returns

`float`

Declared in [Sandbox.UI.GraphAxis](/api/Sandbox.UI.GraphAxis).
Assembly: `Sandbox.Engine`.
