Removed duplicate code -- parseFloat handles scientific notation