Pass or Fail within value range.
I have two fields where I need to record the Time (hr) manually

here, I have got 1.14 hr
The time (min) field that automatically converts the hours to minutes. The script I used or the Time (min) field is
var v1 = Number(this.getField("HR").valueAsString);
if(v1){event.value = v1*60;}
else
event.value ="";As you can see, this gives me the correct answer 68.40.
However, I have a third field to determine whether the result pass or fail. If the result is within the range of 61-75, then it should be a Pass. If it is outside this range, the result should be a Fail.
However, as you can see above, 68.40 is within the Pass range but the result was shown as Fail.
The script I use here is:
var pf7 = Number(this.getField("HL").valueAsString);
if(pf7){
if(pf7<=75 && pf7>=61)
event.value = "Pass";
else
event.value = "Fail";}
else
event.value = "";Any idea why the Pass or Fail doesn't work?
Thanks

