Issues with calculating average

Hi Bubblers!

I’m having issues using the average function. It was working fine, but I added another entry to my database and now I can’t seem to get it to average a series of numbers. The median function works fine. I also tried diving the sum by the count and that doesn’t seem to work either

See screenshot below:

I’m also getting this error in the debugger :

UPDATE:
I discovered my problem. For some reason, Bubble seems to have trouble displaying repeating numbers. I ended the expression with a :floor operator and it works fine now.