I've got the following within a script:
$ItemTotal = number_format($_POST['ItemTotal'],2);
$SalesTax = round($ItemTotal * ($SalesTaxRate / 100),2);
$HandlingTotal = number_format($_POST['HandlingTotal'],2);
$OrderTotal = round($ItemTotal + $SalesTax + $HandlingTotal, 2);
Then in my form I'm putting 1240.00 for $ItemTotal, $SalesTax and $HandlingTotal are both 0.00 right now. $OrderTotal windes up giving me just 1 instead of $1,240.00 like I'm expecting. What am I missing here..??