Store the value returned into a PHP variable, then use the printf() function like you would in a C program:
printf("Average: %.1f", $my_ave);
The "%.1f" means print a floating point number with any number of digits before the decimal, but only 1 digit after the decimal.