So, I've never been good with this kind of thing, even though this request is fairly simple for others. What Im looking for is a script that separates a number into hundreds, thousands, millions, etc So:

100 = 100
1000 = 1,000
1000000 = 1,000,000

I wasn't sure what language to use to search for this on the forums, or else I would have searched first. Your help if greatly appreciated.


Those who fail history are doomed to repeat it