( see 'news' section from March 16 http://batchpcb.com/ )
So calculation for batchpcb would be now:
Code: Select all
--- costcalc.html 2009-03-09 11:39:18.000000000 -0700
+++ costcalc-1.html 2009-04-13 12:27:24.000000000 -0700
@@ -54,7 +54,8 @@
form.barebonestotal.value = 20 + cost;
}
function calcbatchpcb(pcbsize, pcbnum, form) {
- cost = pcbnum*2.5*(pcbsize+1)+10;
+ if (pcbsize < 1) pcbsize = 1;
+ cost = pcbnum*2.5*pcbsize+10;
form.batchpcbnum.value = pcbnum;
form.batchpcbcostper.value = cost/pcbnum;
form.batchpcbcost.value = cost;