Adapted Fraction to Number