Thread: Can someone help me with setprecision?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Registered User
    Join Date
    Dec 2009
    Location
    Colorado
    Posts
    41
    I tried that earlier (outfile.precision(4)) and it didn't work. I'll give fixed a shot.

    EDIT:That didn't work either. I had this thought though. I read the data into holder which is a character array. I am guessing the setprecision isn't working like I want because the computer doesn't think it is dealing with numbers. Does this make any sense?
    Last edited by waterborne; 06-30-2010 at 02:05 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. setprecision()
    By hallo007 in forum C++ Programming
    Replies: 5
    Last Post: 11-25-2006, 09:38 AM
  2. setprecision??
    By rachael033 in forum C++ Programming
    Replies: 5
    Last Post: 03-22-2006, 02:33 AM
  3. setprecision() - can I count on it rounding or not?
    By major_small in forum C++ Programming
    Replies: 2
    Last Post: 11-23-2005, 02:26 PM
  4. setprecision()
    By OnionKnight in forum C++ Programming
    Replies: 2
    Last Post: 03-04-2005, 09:08 PM
  5. setprecision() Help
    By frgmstr in forum C++ Programming
    Replies: 2
    Last Post: 04-15-2002, 02:24 PM