Use scientific notation only if there are enough trailing zeroes.