2009-09-30 17:15:12nut

JavaScript跟VB的四捨五入函式

EX. 要四捨五入至小數點3位數

JavaScript: Number(Form1.Qty1.value - Form1.Qty2.value).toFixed(3);

VB: VBNumeric((Qty1.TEXT - Qty2.TEXT),3)