I need to do some casting

I found that Javascript was adding up my results as a string. I had to
cast them as numbers