Rational constructor
init
Initializes a new instance of the Rational
class.
def __init__(self, numerator, denominator):
...
Parameter | Type | Description |
---|---|---|
numerator | int | The numerator. |
denominator | int | The denominator. |
Exceptions
Exception | Description |
---|---|
ArgumentOutOfRangeException | numerator;Numberator should be grater zero. or denominator;Denominator should be grater zero. |
See Also
- module
aspose.cad.xmp.types.derived
- class
Rational