validate params and round to 4th decimal place