• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Decomma

  • Template
  • Talk
  • Language
  • Watch
  • Edit
Template documentation

A shortcut function to strip commas out of numeric fields imported from other software and convert them into numeric vectors that can be operated on. This is a wrapper for {{replace}}.

All it does is this: {{replace|{{{1|}}}|,|}}

Usage is very simple:

{{decomma|12,345,678.00}}

  • 12345678.00
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Decomma&oldid=1241645734"
Last edited on 22 August 2024, at 11:24

Languages

    • தமிழ்
    • 中文
    • Kadazandusun
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 22 August 2024, at 11:24 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop