Search:

Type: Posts; User: hollip3020

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,149

    here's a sample of code that doesnt work: ...

    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;
    }
  2. Replies
    4
    Views
    1,149

    2.0e1.0 to 20.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...
Results 1 to 2 of 2