[PD] Displaying as two digits

Frank Barknecht fbar at footils.org
Wed Apr 7 09:50:53 CEST 2010


Hi,

On Mon, Apr 05, 2010 at 10:23:08AM -0700, Jonathan Wilkes wrote:
> > [makefilename %02d] or [makefilename %.2d] 
> 
>      Nice solution.  Is this behavior documented anywhere?

makefilename supports the format specifiers of
the printf function in C. A nicely written overview of this lot is in
http://en.wikipedia.org/wiki/Printf#printf_format_placeholders
Internally Pd uses the "g" type a lot to format numbers.

Ciao
-- 
Frank




More information about the Pd-list mailing list