Updated parseInt to parseFloat

Updated parseInt to parseFloat