Express decimal form of a number in rational form