http://qs321.pair.com?node_id=156693


in reply to hawk@rthawk.com
in thread How do I add commas to a number?

It doesn't automatically scale. You must write that code with the knowledge of what is the biggest number you will handle.

"Since this is just cosmetics, it is not detrimental if it fails."

My users beg to disagree. Numbers not formatted correctly when presented on our Intranet Web pages may have a very high economical impact, including failed trades, penalty fees and loss of reputation.

The right answer is here.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.