Averaged variables giving NaN?? Plz help

@danrbraine since avg1 is a global variable no need to pass it with the function call. You can leave the parenthesis empty.
anyway in the calculateFinalAvg function itself (that I wrote in the previous commen) add (after the final avg calculation):
$w("#text150ā€).text = finalAvg.toString();