paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-users] question about SetTextFormat


From: Himmler Andreas /OI&T
Subject: [paragui-users] question about SetTextFormat
Date: Wed, 19 Jun 2002 12:57:08 +0200

Hi!

I use VC 6 and paragui 1.0.1.

All the following lines do the same, but I think this isn't correct, is it?


XXX->SetTextFormat("%-2.6f", (float)55.55);

XXX->SetTextFormat("%3.6f", (float)55.55);

XXX->SetTextFormat("%4.6f", (float)55.55);


What I want to do is to print a floating number right-justified, but....

A String is right-justified for default an with the '-' it is
left-justified. This one works fine...

BTW: Why don't do things like '\n' or '\t' their job?

What about other compilers or systems - how looks the output there?

Thanks for all hints, etc.

Bye

Himmler Andreas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]