Determining if a number is in scientific notation