Fix #93 : Unify parsing of text strings into Rational pull request

This pull request is made in regard to the Fix #93 : Unify parsing of text strings into Rational.
Please this is my first time trying to commit to the open source and learning about git as i am beginning programmer from Africa and so i would really like to get a review of my submission and i am also open to learning more and taking corrections.