FANDOM


The , template is a special template used to remove "group separator" commas from numbers that are used in expressions to prevent the "Unrecognised punctuation character" error from occurring.

This template is used in Template:ExchangeItem to remove commas that users might have included in Exchange prices.

Usage

  • {{,|number}}
  • {{,|expression}}

Examples

  • {{#expr:1,234,746}} gives Virhe lausekkeessa: tunnistamaton välimerkki ”,”
  • {{#expr:{{,|1,234,746}}}} gives 1.234
  • {{#expr:1,234+473,872}} gives Virhe lausekkeessa: tunnistamaton välimerkki ”,”
  • {{#expr:{{,|1,234+473,872}}}} gives 475.106
Community content is available under CC-BY-SA unless otherwise noted.