Template:ExactlyOrAbout

From Xenharmonic Wiki
Revision as of 08:40, 21 May 2023 by FloraC (talk | contribs) (+examples)
Jump to navigation Jump to search

If the input value x to 3 significant figures = the exact value, display "exactly x"; otherwise display "about x".

Usage

You type
{{ExactlyOrAbout|24}}
{{ExactlyOrAbout|16.667}}
You get
exactly 24
about 16.7

See also

  • Template:Sigfig – the template that rounds a number to a given number of significant figures