---
title: "Rational Constructor (Int32, Int32)"
canonical: https://www.graphicsmill.com/docs/gm/C_Aurigma_GraphicsMill_Rational_ctor_2_a88b0353.htm
product: "Graphics Mill"
---

# Rational Constructor (Int32, Int32)
 
Initializes a new instance of the [Rational](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Rational.htm.md) class with the specified dividend and divider.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public Rational(int dividend,int divider
)
```
 
### Parameters
 
 - dividend
     - Type: System.Int32
The dividend of the rational number (i.e. if represent rational number as *p/q*, dividend is *p*). You can change it later using [Dividend](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Rational_Dividend.htm.md) property.

 - divider
     - Type: System.Int32
The divider of the rational number (i.e. if represent rational number as *p/q*, divider is *q*). You can change it later using [Divider](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Rational_Divider.htm.md) property.
   
## See Also

### Reference

- [Rational Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Rational.htm.md)
- [Rational Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Rational_ctor.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
