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 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] > >
"%8.4f" Aloha => Beau; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]