[plt-scheme] C-style Printf Format Convention?
sigurd at 12move.de (Karl Pflästerer) writes:
>> If all you need is to choose the number of digits, why not write a function
>> to do it? I don't think something exist in standard libraries.
>
> No it doesn't exist (if you don't regard SLIB as kind of standard lib)
> but printf from C can do much more than simply choosing the number of
> digits. Furthermore the result gets rounded.
Not really _standard_, but have you consider SRFI-54?
http://srfi.schemers.org/srfi-54/
It is still draft, and it is not included with PLT, but it should work
just fine in PLT, and it might do what you want.
hth,
--Francisco