arnuld wrote:
>> On Mar 5, 4:06 pm, Jacek Dziedzic <jacek.dziedzic_n.o.s.p.a....@gmail.com.nospam>
>
>
>> One way would be to google for "fixed", "setprecision" and "manipulators".
>
>
> i did that after reading your reply. sorry...
>
> i found one more manipulator named /scientific/ an opposite of /
> fixed/
Almost an opposite. In fact you have three modes -- the default
(not fixed and not scientific), fixed and scientific.
> yes, i understood now, except one thing. from pattern '2' above, does
> one /fixed/ works for all subsequent /setprecision(s)/
Yes, as long as they are on the same output stream.
HTH,
- J.
|