$number = $_POST['copies'] ; $size = $_POST['mb']; ///////////////////////////////////////// if (isset ($number)) { $qty_value = $number; $qty_desc = "5 or More"; } else { $qty_value = 1; $qty_desc = ""; } if (isset ($size)) { $size_value = $size ; $size_desc = "1 or More"; } else { $size_value = 1; $size_desc = ""; } /////////Let's Round stuff off to the second decimal place function r_ound ($rnd){ $r = round($rnd,0); return $r; } function r_oundr ($rnd){ $r = round($rnd,2); return $r; } ///////// $amt = ((($size_value -1) * 0.23061538461539)+102.499846153846) * $qty_value ; $amount = r_ound($amt / 60) ; $hours = $amount/60 ; $placeholder =.001; $combo = $qty_value + $placeholder; $combo2 = $hours + $placeholder; $perhour = $combo/$combo2; ?>
Duplication Equipment
| Services | CD-R Media
| Replication | Duplication
| Silksceening | Supplies|
Company | Technical | Contact
Us
CD Analyzer
| Customers | Resources
| CD/DVD
Faqs | Site Map
| DVD Duplicators