Is there any way to format a number such as 3000 or 21000 into “3,000” or “21,000” using string.format() or another method?
I’ve been trying to figure this out for a while now, and haven’t found a solution personally.
Is there any way to format a number such as 3000 or 21000 into “3,000” or “21,000” using string.format() or another method?
I’ve been trying to figure this out for a while now, and haven’t found a solution personally.
The last solution by Corecii seems to work best, based on the cases ConvexHero used.
https://devforum.roblox.com/t/formatting-numbers-to-have-thousands-separated-by-commas/35739/10