setprecision
#include <iomanip>
cout.precision()
int oldPrecision {cout.precision()};
cout << setprecision(15); ... cout.precision(oldPrecision);
fixed
which shows all of the zeros following a number up to the precision.
defaultfloat
fixed
scientific
defaultfloat
hexfloat