According to the documentation, setprecision(2) would arrange that. The rest of the padding you'd use setw() for.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 15 of 31
Thread: Double output problemThreaded View
|
Click Here to Expand Forum to Full Width |