ID:1015153
 
(See the best response by Kaiochao.)
Hello, I would like to make it so in my game any big number (like 1000, 1000000) would appear like 1'000, 1'000'000 and so on... (not in variables, just in the Chat and maybe in windows). How could I do it?

I have never done something simillar so I wondered if somebody could help me :S

Thanks!
You can use the Comma-separated Numbers snippet and change the commas to whatever you want. This does it for digits in general, not just zeros.

Also, what's this nonsense?
(not in variables, just in the Chat and maybe in windows)
In response to Kaiochao
Kaiochao wrote:
You can use the Comma-separated Numbers snippet and change the commas to whatever you want. This does it for digits in general, not just zeros.

Also, what's this nonsense?
(not in variables, just in the Chat and maybe in windows)

I only want the comma to be displayed in the Chat if the number is displayed.
In response to Eternal_Memories
Best response
There's no way to automatically format numbers that way. Whenever you embed a numeric value in text, you need to pass it through that procedure to format it.
var level = 9000
src << "it's over [num2commas(level)]"
// should output: it's over 9,000