Forums > MaxMSP

sprintf help

February 3, 2009 | 10:53 am

hi all,

just a quickie hopefully.

I’m sure it is possible using [sprintf] to prepend a zero in front of a single int isn’t it? what i’m trying to do is make the time output of the date object in double digits, so 9 becomes 09, but 59 is still just 59, not 059…

if anyone could help i’d be grateful

robin


February 3, 2009 | 11:13 am


February 4, 2009 | 9:54 am

thanks, that’s great


Viewing 3 posts - 1 through 3 (of 3 total)