Write a finite decimal in exponent form or expand an exponent into ordinary decimal form.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Exponent output normalizes a finite decimal into one non-zero leading digit and an exponent. Standard output shifts the decimal point according to the parsed exponent, while the selected precision controls display rounding.
602214076000000000000000
6.02214e+23
Engineering notes write 0.00000042 as 4.2e-7, JSON logs inspect exponent notation, and laboratory spreadsheets display measurements spanning orders of magnitude.