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
87
S
29
G
88
Posts: 5,100
Reputation: 59,686

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
63
S
22
G
14
Posts: 1,482
Reputation: 16,432

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
33
S
9
G
3
Posts: 205
Reputation: 7,819


Return to How do I....?

Who is online

Users browsing this forum: LeirSchiessl and 0 guests