Fixes #380 - rounding fractions to a whole number.