C++ · Input, output and math

Fixed decimals with setprecision

Engineering results are reported to a set number of decimal places, and cout's default of six digits rarely matches what you need.