Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 03:24, 18 February 2025 by Prd (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> == Usage == Multiplies two numbers. <syntaxhighlight lang="wikitext">{{multiply | ''x'' | ''y'' | r= | nosep= }}</syntaxhighlight> '''Parameters''' * <code>r</code> – Option to remove separators from input numbers: 1,000 → 1000 * <code>nosep</code> – Option to remove separators from the output result These...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

Multiplies two numbers.

{{multiply | ''x'' | ''y'' | r= | nosep= }}

Parameters

  • r – Option to remove separators from input numbers: 1,000 → 1000
  • nosep – Option to remove separators from the output result

These two parameters correspond to the R and NOSEP options for the {{formatnum:}} parser function.

Examples

{{multiply|4|5}} – 20

{{multiply|1000|1000|nosep=1}} – 1000000

{{multiply|1,000|1,000|r=1}} – 1,000,000

{{multiply|1,000|1,000|r=1|nosep=1}} – 1000000

{{multiply|1.5|10}} – 15

{{multiply|400|200}} – 80,000

{{multiply|3/2|10}} – 15

{{multiply|pi|1}} – 3.1415926535898

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Multiply in articles based on its TemplateData.

TemplateData for Multiply

No description.

Template parameters

ParameterDescriptionTypeStatus
11

no description

Unknownoptional
22

no description

Unknownoptional
nosepnosep

no description

Unknownoptional
rr

no description

Unknownoptional

See also