Help!!!!!! i am making a form that calculates this is the line that i am having problems with.
It works but when i add *.01+ the calculation is wrong. you can see the test page at
http://www.derolds.com/calc15.php
<?php
if (count($_POST) > 0 && isset($_POST["calc15TextArea2"])){
$sum = floatval( $_POST["indexEditbox1"] ) + floatval( $_POST["indexEditbox2"] )
*.01+ floatval( $_POST["calc15Editbox3"] ) + floatval( $_POST["calc15Editbox4"] ) ;
echo "Total is $ $sum";
}
?>