Change parseInt to parseFloat