I want to show a figure based on an numeric entry that more than 20
(or 21and higher).
If Number value is 21 or higher then the amount returned is Number
value * 120 (£) * 10 (%) to give a discount on 21 and higher.
How to I add that function to this line of code.
SAmt0 = Math.round(eval (form.Number.va lue * 12000 * 0.1));
form.Amt0.value = AddDecimal(SAmt 0);
Thanks.
(or 21and higher).
If Number value is 21 or higher then the amount returned is Number
value * 120 (£) * 10 (%) to give a discount on 21 and higher.
How to I add that function to this line of code.
SAmt0 = Math.round(eval (form.Number.va lue * 12000 * 0.1));
form.Amt0.value = AddDecimal(SAmt 0);
Thanks.
Comment