• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.213
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Significant figures/rnd

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
< Template:Significant figures
Template documentation[view] [edit] [history] [purge]

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://moasspedia.org/w/index.php?title=Template:Significant_figures/rnd&oldid=30931"
Category:
  • Subtemplates of template sigfig
Last edited on 9 May 2021, at 06:14

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 9 May 2021, at 06:14.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop