here's a sample of code that doesnt work:
#include <iostream.h>
#include <iomanip.h>
int main() {
cout << fixed << showpoint << setprecision(2) << 200;
return 0;
}
Type: Posts; User: hollip3020
here's a sample of code that doesnt work:
#include <iostream.h>
#include <iomanip.h>
int main() {
cout << fixed << showpoint << setprecision(2) << 200;
return 0;
}
need help converting an outputed double from 2.0e1.0 to 20.0!!!
on a mac it would simply be cout << ... << fixed << showpoint << setprecision(1) << 20;
but when i do that in VC++ it tells me fixed...