changes in precise rounding to avoid errors when return from shop