Template:CSN

Comma Separated Number

Separates digits of an integer in groups of three by adding thousands separators; works for numbers under 1E15. Only positive numbers are supported, larger numbers are just provided in their standard output form.

Csn does some additional things that formatnum does not: rounding to an integer, removing leading zeros, removing - from -0, writing in scientific notation, computations.

Template from: http://meta.wikimedia.org/wiki/Template:Csn