Dear ROOT users, I copy some results to a txt file (it goes OK), fprintf(foutput," %s %g %g %g %g %g \n", histo,p0[i],e0[i],Chi2_offset,Chi_2/(n_bin*1.0-1.0),Kolmog_comp[i]); All these numbers are declared as Double_t. my problem is: How can I choose the accuracy of numbers ? I would like to put them in columns with the same width (i.e. with the same number of digits for all numbers). I have been looking for SetPrecision or something like that, but I didn't find nothing (only TGNumberFormat, but there isn't any example). I apologize for any inconvenience. Thanks. Best regards, Luis
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET