@123 i have just found your explaination here for someone else (here) i will try add the float(0) to all my floats in the template.
float(0)
If thats the answer no need to reply yes i still need to move it to the average function