Split the real value into numerator and denominator.