ok I have a program and i need the second column in my fout report to line up numbers on the decimal point. I have been playing with this all day and just can't get it. any help would be appreciated. here is what I have
Things to try
showpoint Forces a decimal representaion for integer values, number of decimals is dependant on precision
fixed Output in fixed point notation (rather than scientific).
setprecision(int n) Set the precision to n decimal places
You need to include the header iomanip for setprecision(n).
I belive all of the above are things you set once and remain that way until reset (IE you do not need to specify them for every line).