Removes the extraneous digits from the calculated result