Display Numbers Using Comma as a Thousands Separator

The siunitx package has this sort of facility.

\num[group-separator={,}]{1234567890}

Should give you "1,234,567,890".

Also you can use this as a package option like so:

\usepackage[group-separator={,}]{siunitx}

Be warned, this doesn't seem to work with older versions of siunitx.