number format display 002

Discussion and feedback on Construct 2

Post » Wed Nov 14, 2012 9:28 am

hi guys,
please help me how can i display number in this format example
0==>000
1==>001
2==>002


thanks
B
5
S
1
Posts: 49
Reputation: 723

Post » Wed Nov 14, 2012 11:51 am

With zeropad(number, digits)

If you get the number from a variable called MyNumber, it'll be zeropad(MyNumber, 3)
B
7
S
1
G
2
Posts: 25
Reputation: 1,760


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests