NumberFormat

Peter Bogdanoff bogdanoff at me.com
Tue Sep 11 01:43:05 EDT 2012


Hi,

I can't seem to get the numberFormat working.

I want a number with zeros in front up to 3 places. I'm trying with no luck:

   set the numberFormat to "000"
   
   put (1 + 0) into paddedNumber


paddedNumber is always 1, not 001 which I want.

Any suggestions?


Peter Bogdanoff
UCLA



More information about the use-livecode mailing list