Hello there. I’m showing the users score in a textbox. But if the number exceeds 1000 it should show 1.000
example: 10000000 => 10,000,000
I’ve been searching a lot on Google, but I just can’t make it work. Can anyone help me with this?
I’ve started something out with this code:
http://pastebin.com/a51cP6jT
Also, if I had the correct function, how would I made it split too if the number was 10.000, 100.000, etc…
Regards