Return a pair (n, d) of integers that represent the given Decimal instance as a fraction, in lowest terms and with a positive denominator:
as_integer_ratio()
>>> Decimal('-3.14').as_integer_ratio() (-157, 50)