Is there a way to format a number so that it shows commas in the appropriate location
the numbers will be coming from both a database and from user input and can range between anything from -infinite to +infinite
(the incredibly large/small numbers wont be coming from the db, but you get the idea)
basically what i want is to change 1000000 into 1,000,000 but must also work on any number passed to it
it doesnt matter if it needs to be done in javascript as it is only for page display, but i would prefere it to be done in VBScript
Thanks in advance
I can't be bothered to have a sig!
the numbers will be coming from both a database and from user input and can range between anything from -infinite to +infinite
(the incredibly large/small numbers wont be coming from the db, but you get the idea)
basically what i want is to change 1000000 into 1,000,000 but must also work on any number passed to it
it doesnt matter if it needs to be done in javascript as it is only for page display, but i would prefere it to be done in VBScript
Thanks in advance
I can't be bothered to have a sig!