| From: Brent Fulgham (bfulg at pacbell.net) Date: Tue May 11 18:05:19 EDT 2004 |
|
Is there a PLT string format function that works like
the C printf?
My goal is to be able to print a number with an
arbitrary
number of digits, regardless of its actual magnitude:
e.g.,:
printf("%-10.5d", 1.23);
=> 1.2300
Is there a formatting utility I can use for this?
Thanks,
-Brent
| Posted on the users mailing list. |
|