delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/12/21:00:12

Message-Id: <1.5.4.32.19970913010021.006638b4@milo.cfw.com>
Mime-Version: 1.0
Date: Fri, 12 Sep 1997 21:00:21 -0400
To: djgpp AT delorie DOT com
From: "Shiflett's" <shifletb AT cfw DOT com>
Subject: ios::showpoint

when ever i use cout << "\n"<<setiosflags(ios::showpoint) <<setprecision(2);
i get the follwing:
 2.9e+02 instead of 293.625

i am using the the following to compile
gcc  %1.cpp -o %1.exe -liostream -lm 

where i pass in the program name from the command line
what i'm am i doing wrong

thanks for the help

Bob Shiflett  Software Engineer/Analyst

e-mail work shifletb AT wlrfoods DOT com
e-mail home shifletb AT cfw DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019