extract_power_of_10(Magnitude)
This will help with pretty-printing magnitudes by extracting a reasonable power of 10.