Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

setprecision c++

  cout << "Setting the precision using"
           << " setprecision to 9 : 
 "
         << setprecision(9);

 // this is the output 
Setting the precision using setprecision to 9: 
3.140000000
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #setprecision
ADD COMMENT
Topic
Name
9+8 =