Converting between standard and scientific notation