Fix decimal issue replacing parseInt with parseFloat.