Hi,

I have a problem with formating my output. I use sprintf to format a
floating-point number. My output with "%.4f" looks like this:

111.5611  
21.4870  
10.7046  
8.8443  
8.6823  

but I would like to see it that way:

111.5611  
 21.4870  
 10.7046  
  8.8443  
  8.6823

So, a kind of combination of "%.4f" and "%-8s" is needed. How can I do this?

Thanks

Konrad



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to