|
Using cout.precision()
I think I know the answer to this question, but I'd like to know for sure.
To be able to use
cout.setf(ios::fixed);
cout.setf(ios::showpoint);
cout.precision(x);
I have to use float instead of int right?
int is for intergers if I am not mistaken, but I'd like to know for sure.
Thx!
|