RE: floating-point number on the right side with sprintf

2003-01-16 Thread Beau E. Cox
Hi - > -Original Message- > From: Konrad Foerstner [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 15, 2003 11:27 AM > To: [EMAIL PROTECTED] > Subject: floating-point number on the right side with sprintf > > > Hi, > > I have a problem with formating my output. I use sprintf to fo

RE: floating-point number on the right side with sprintf

2003-01-15 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Konrad Foerstner wrote: > 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 >