chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] Re: Using Format


From: Ivan Shmakov
Subject: [Chicken-users] Re: Using Format
Date: Thu, 06 Dec 2007 12:28:43 +0600
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

>>>>> Kon Lovett <address@hidden> writes:

 >>> Is there an easy way to format a number with a possible leading
 >>> zero using format or sprintf?

 >>> In other words I want 9 to show us as 09 and 10 to show is as is.

 >> I don't think you can do it with the default format/sprintf, but
 >> with the format egg you can:

 > Also look at the 'format-modular' egg. A very different
 > implementation of CL 'format' that is thread-safe.

        The `fmt' egg may also be useful.  Especially if one's going to
        implement rather complex formatting in a modular way.

[...]





reply via email to

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