I have been using a php shopping cart and when the total is calculated, if it ends in 0 cents ($14.30) the zero is dropped and it just shows $14.3... Does anyone have any ideas how I can make sure their is that 4th digit?
Thanks!
$yourvar = 14.30 printf("%.2f",$yourvar
$yourvar = 14.30 printf("%.2f",$yourvar);
sorry 🙂
Thanks for the help max!!
You are welcome dude! have a nice day