Re: [Dev-C++] compiler error using: cout<<setprecision(2)<<fixed;
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: nada <na...@ca...> - 2003-02-27 00:21:03
|
>cout << setprecision(2) << setiosflags(ios::fixed) ;
I read something recently that said this would be the more correct:
cout << setprecision(2) << setiosflags(ios::fixed | ios::showpoint);
The reference mentioned that showpoint should always be set when using
setiosflag.
Can anyone shed more light on this?
{rb}
--
Believe those who are seeking truth, doubt those who find it. - Andre' Gide
|