Hi!
Can you tell me how to divide a number into digits?
For example, 1000000 to turn into 1 000 000 or 1000 to turn into 1 000?
Maybe there is any command in the Construct 3?
take a look at this thread from a few days ago...
https://www.construct.net/en/forum/construct-3/how-do-i-8/put-commas-numbers-160413#forumPost1042464
if you want spaces, just replace the comma with a space character.
Develop games in your browser. Powerful, performant & highly capable.
take a look at this thread from a few days ago... https://www.construct.net/en/forum/construct-3/how-do-i-8/put-commas-numbers-160413#forumPost1042464 if you want spaces, just replace the comma with a space character.
Thanks! I couldn't find it. it's brilliant but incomprehensible but it works )))
Set text to RegexReplace( str(int(num)), "(\d)(?=(\d{3})+(?!\d))", "g", "$&,")
instead of "num", need to insert a number.