Displaying a numeric variable with commas.

Get help using Construct 2

Post » Mon Jan 30, 2012 5:53 pm

Is there an easy way to do this so when i display a numeric variable such as 10000 it will show up in text as 10,000.
B
7
Posts: 15
Reputation: 756

Post » Mon Jan 30, 2012 10:44 pm

B
79
S
24
G
53
Posts: 4,735
Reputation: 40,233

Post » Tue Jan 31, 2012 9:45 am

little correction, r0j0's capx left a coma in front of multiple of 3 length numbers.
comaNumbers.capx
Last edited by Yann on Sun Sep 14, 2014 9:48 pm, edited 1 time in total.
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346

Post » Wed Oct 16, 2013 9:27 pm

Omg, I really wanted to have that feature but I coundn't imagine an easy way of doing this. This wasn't important enough to me to invest a lot of time.

Always good to look up a problem at the forum first. It was very easy to implement.

Thanks a lot for sharing the .capx file and especially for keeping the dropbox-link alive.

B
32
S
9
G
3
Posts: 204
Reputation: 7,783


Return to How do I....?

Who is online

Users browsing this forum: jobel and 19 guests