Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How would I Convert 100000 to 100,000 on a Gui / TextLabel?

I have looked around but i'm still having trouble figuring out doing this. Couldn't find anything specific.

Any help is appreciated.

1 answer

This isn't mine, oxcool1 posted it here

local Number = tostring(numberToEdit):reverse():gsub("%d%d%d","%1,"):gsub(",$",""):reverse()

Hope it helps :)

This discussion is preserved as it was. New answers, comments, and votes are closed.