Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

set precision with fixed c++

int x = 109887;
cout << fixed << setprecision(3) << x;
 
PREVIOUS NEXT
Tagged: #set #precision #fixed
ADD COMMENT
Topic
Name
1+7 =