format_scientific function

Format numbers in scientific notation