Override decimal places in the cart

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

For cart and checkout page:

For mini-cart: