fork download
  1. #include <iostream>
  2. #include <iomanip>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. float a = 3.1234567;
  8. cout << setprecision(10) << a << endl;
  9. }
Success #stdin #stdout 0s 4376KB
stdin
Standard input is empty
stdout
3.123456717