Adding some new methods- getIngeterPart, getFractionPart, roundToDenominator