Fraction calculator and rounder