Calculating with exponents in a fillable form
I have a form that I'm trying to auto calculate an equation in. The equation is L=Q/(Cw X H^1.5). I can't get the exponent in the denominator to work correctly. I gave up trying to get it to work in simplified field notation and started trying Custom Calculation Script. Unfortunately I know nothing about Java. I'm experienced with SAS and R, so I'm not completely new to code, I've just never learned Java. The script I currently have is as below. Where is my mistake, please? Thank you! Note: Current values of fields Q and H are 0.887 and 0.5, respectively.
event.value=((this.getField("Q"))/(this.getField("H") **= 1.5));
