Override decimal places in the cart

You need to paste this code in the functions.php of your theme.