changed parseInt to parseDouble

I forgot we were working with doubles. I'm dumb.