Hello, I use the following code to generate a whole number between, and including, 0 to 500000. I store this random number in a variable named, tempNum. My question is this, how can I format the number that is stored in tempNum to have commas so it is easier to read? example: from 123729 to 123,729 Please help? Thanks!
tempNum = irandom_range(0,500000);
Edited by Arc, 13 April 2011 - 07:56 AM.