Added parseFloat to handle the integers