I'm not sure if you meant to parseInt for a certain purpose, but I find parseFloat to work quite well...