[plt-scheme] C-style Printf Format Convention?

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
number of digits, regardless of its actual magnitude:


printf("%-10.5d", 1.23);

=> 1.2300

Is there a formatting utility I can use for this?



Posted on the users mailing list.