Determining if a number is written in scientific notation