Template:Add: Difference between revisions

From Drunkapedia
Jump to: navigation, search
imported>Tlosk
(Created page with '<includeonly>{{#expr:{{formatnum:{{{1}}}|R}} + {{formatnum:{{{2}}}|R}} }}</includeonly><noinclude> {{Related|Wiki Templates}} == Syntax == <pre> {{multiply|<value>|<value>}} </pr…')
 
imported>Tlosk
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#expr:{{formatnum:{{{1}}}|R}} + {{formatnum:{{{2}}}|R}} }}</includeonly><noinclude>
<includeonly>{{#expr:{{formatnum:{{{1|0}}}|R}} + {{formatnum:{{{2|0}}}|R}} }}</includeonly><noinclude>
{{Related|Wiki Templates}}
{{Related|Wiki Templates}}
== Syntax ==
== Syntax ==
<pre>
<pre>
{{multiply|<value>|<value>}}
{{add|<value>|<value>}}
</pre>
</pre>



Latest revision as of 06:06, 11 June 2010

Related topics: Wiki Templates

Syntax

{{add|<value>|<value>}}

Usage

Adds two numerical values. Gets around issues if a number has commas in it.