e2 80 98setprecision e2 80 99 was not declared in this scope

Solutions on MaxInterview for e2 80 98setprecision e2 80 99 was not declared in this scope by the best coders in the world

showing results for - " e2 80 98setprecision e2 80 99 was not declared in this scope"
Frida
18 Jan 2016
1//You have to include header file
2#include <iomanip> 
Luis
10 Sep 2019
1int x = 109887;
2cout << fixed << setprecision(3) << x;