Support rounding of rationals
Merge pull request #34 from tlycken/master

Support rounding of rationals