
## TiffRational class

The tiff rational type.



The TiffRational type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/cad/python-net/aspose.cad.fileformats.tiff/tiffrational/__init__/#) | Initializes a new instance of the [`TiffRational`](/cad/python-net/aspose.cad.fileformats.tiff/tiffrational) class. |
| [__init__](/cad/python-net/aspose.cad.fileformats.tiff/tiffrational/__init__/#int) | Initializes a new instance of the [`TiffRational`](/cad/python-net/aspose.cad.fileformats.tiff/tiffrational) class. |
| [__init__](/cad/python-net/aspose.cad.fileformats.tiff/tiffrational/__init__/#int-int) | Initializes a new instance of the [`TiffRational`](/cad/python-net/aspose.cad.fileformats.tiff/tiffrational) class. |


### Properties
| Property | Description |
| :- | :- |
| [denominator](/cad/python-net/aspose.cad.fileformats.tiff/tiffrational/denominator) | Gets the denominator. |
| [nominator](/cad/python-net/aspose.cad.fileformats.tiff/tiffrational/nominator) | Gets the nominator. |
| [value](/cad/python-net/aspose.cad.fileformats.tiff/tiffrational/value) | Gets the float value. |
| [value_d](/cad/python-net/aspose.cad.fileformats.tiff/tiffrational/value_d) | Gets the double value. |
| [EPSILON](/cad/python-net/aspose.cad.fileformats.tiff/tiffrational/epsilon) | The epsilon for fraction calculation |


### Methods
| Method | Description |
| :- | :- |
| [approximate_fraction](/cad/python-net/aspose.cad.fileformats.tiff/tiffrational/approximate_fraction/#float-float) | Approximates the provided value to a fraction. |
| [approximate_fraction](/cad/python-net/aspose.cad.fileformats.tiff/tiffrational/approximate_fraction/#float) | Approximates the provided value to a fraction. |
| [approximate_fraction](/cad/python-net/aspose.cad.fileformats.tiff/tiffrational/approximate_fraction/#float-float) | Approximates the provided value to a fraction. |
| [approximate_fraction](/cad/python-net/aspose.cad.fileformats.tiff/tiffrational/approximate_fraction/#float) | Approximates the provided value to a fraction. |



### See Also
* module [`aspose.cad.fileformats.tiff`](..)
* class [`TiffRational`](/cad/python-net/aspose.cad.fileformats.tiff/tiffrational)
