Template:Csn/doc

This  template documentation is transcluded for all including templates'' [ [ edit] ].

Comma Separated Number

Separates digits of an integer in groups of three; 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.


 * Examples comparing csn and NaN

123456789012345 gives the wikitext 123,456,789,012,345

gives the wikitext 123,456,789,012,345

.

Template:Evaldemo/3/doc