PDA

View Full Version : add commas to number from table


youval
03-27-2003, 07:36 AM
Hello everybody,
I’m trying to add commas to a number in html e.g. 1000000 -> 1,000,000 the number is display in an html table (draws from the table)
I wrote the function that enters the comma but I don't know how to call the function so I will edit the number.
Thanks in advance to all you good people

BoR|S
04-18-2003, 12:43 AM
I guess javascript:setcomma(######) where ###### is your number...