# Set(int, int)

> Sets the numerator and denominator, performing normalization.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.Media](/engine/6000.5/script-reference/unityeditor/media.md)
* **Assembly:** UnityEditor

```csharp
public void Set(int numerator, int denominator = 1)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): New value for the rational numerator.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): New value for the rational denominator.

### Remarks

Additional Resources: [MediaRational](/engine/6000.5/script-reference/unityeditor/media/mediarational/ctor.md).
