Help with converting an excel formula into Javascript
I am trying to convert an Excel expression/formcalc script that essentially divides the totals of two fields provided on a PDF form. One field may include a total entered on a another page. The formcalc script I am currently using works, and is listed below. Is there any chance someone might be able to help me with converting to javascript? Thanks so much!
if(Page1.Total_undupl ne 0 & HasValue(Page1.Total_undupl)) then
Total_al_instr / Page1.Total_undupl
else
null
endif
