Usage

This template performs addition. For example, if you want to add 2 and 3, use this: <syntaxhighlight lang="wikitext" inline>5</syntaxhighlight>, which creates 5. It handles positive and negative integers, fractions, and decimals to thirteen decimal points:

  • <syntaxhighlight lang="wikitext" inline>-2</syntaxhighlight> produces: -2
  • <syntaxhighlight lang="wikitext" inline>1.5</syntaxhighlight> produces: 1.5
  • <syntaxhighlight lang="wikitext" inline>1.6666666666667</syntaxhighlight> produces: 1.6666666666667

It also handles some symbols such as "pi" (π) or "e":

  • <syntaxhighlight lang="wikitext" inline>3.1415926535898</syntaxhighlight> produces 3.1415926535898
  • <syntaxhighlight lang="wikitext" inline>2.718281828459</syntaxhighlight> produces 2.718281828459

More than two parameters may be employed:

  • <syntaxhighlight lang="wikitext" inline>3</syntaxhighlight> produces 3

It does not accept commas or spaces for thousands separator.

See also