I had an idea to make this in the middle of math class, and it worked. Write in a __x10^(+/-)_ format or type in any number.
When converting to standard form with a negative exponent, it gets it wrong if the exponents are lower than -6, but that is Scratch's built-in calculator. Also, this is one line of code.