Changed the method to round decimal digits by calling .round()