Changed "parseInt()" to "parseFloat()"