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?