how to get "0000" + 1 = 0001 ?

dunbarx at aol.com dunbarx at aol.com
Sat Nov 3 12:17:03 EDT 2012


Andre:


set the numberFormat to "0000"
answer 0000 + 1


Craig Newman





-----Original Message-----
From: André Bisseret <andre.bisseret at wanadoo.fr>
To: use-livecode <use-livecode at lists.runrev.com>
Sent: Sat, Nov 3, 2012 8:52 am
Subject: how to get "0000" + 1 = 0001 ?


Bonjour,

When I add 1 to 0000, I am getting 1
How to get 0001 instead

I read the dictionary
at "numberFormat" or at "format" (function)

but I am unable to get the right syntax :-((

Thank a lot for any help

Best regards from Grenoble

André




_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 



More information about the use-livecode mailing list