For formatting an integer variable with fixed two decimal points (Eg: 12.00, 100.34, 123.00, etc )we can use this method: This method can be used for formatting subtotal, total values in the cart, or checkout pages.
For formatting an integer variable with fixed two decimal points (Eg: 12.00, 100.34, 123.00, etc )we can use this method: This method can be used for formatting subtotal, total values in the cart, or checkout pages.