Function to convert a defined set of numerators and denominators into the equivalent number.
Useful links