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

Template:Significant figures/rnd

  • Template
  • Talk
  • Language
  • Watch
  • View source
< Template:Significant figures
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 5,200 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.

Usage

A rounding subtemplate, it calls {{round}}.

Examples:

  • {{significant figures/rnd|123.456|7|2}} → 123.4560
  • {{significant figures/rnd|123.456|6|2}} → 123.456
  • {{significant figures/rnd|123.456|5|2}} → 123.46
  • {{significant figures/rnd|123.456|4|2}} → 123.5
  • {{significant figures/rnd|123.456|3|2}} → 123
  • {{significant figures/rnd|123.456|2|2}} → 120
  • {{significant figures/rnd|123.456|1|2}} → 100
  • {{significant figures/rnd|123.456|0|2}} → 0
The above documentation is transcluded from Template:Significant figures/rnd/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Significant_figures/rnd&oldid=1022243981"
Last edited on 9 May 2021, at 11:14

Languages

    • Afrikaans
    • العربية
    • Авар
    • تۆرکجه
    • Basa Bali
    • বাংলা
    • 閩南語 / Bân-lâm-gí
    • भोजपुरी
    • Boarisch
    • Bosanski
    • Буряад
    • Dansk
    • فارسی
    • Galego
    • ગુજરાતી
    • हिन्दी
    • Ilokano
    • Bahasa Indonesia
    • IsiZulu
    • ქართული
    • Ladin
    • Magyar
    • मैथिली
    • Македонски
    • Māori
    • ဘာသာမန်
    • Монгол
    • မြန်မာဘာသာ
    • नेपाली
    • 日本語
    • Norsk bokmål
    • ଓଡ଼ିଆ
    • ਪੰਜਾਬੀ
    • Português
    • Русский
    • Scots
    • Simple English
    • سنڌي
    • Slovenščina
    • Soomaaliga
    • کوردی
    • Српски / srpski
    • Sunda
    • Tagalog
    • တႆး
    • ไทย
    • Türkçe
    • Tiếng Việt
    • 粵語
    • 中文
    • Kumoring
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 9 May 2021, at 11:14 (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