Difference between revisions of "Template:AsymmetricErrorBar"

From blackwiki
Jump to navigation Jump to search
blackwiki>Bryan Derksen
(template doc subpage)
blackwiki>Jimp
Line 1: Line 1:
 
<includeonly>{{#if:{{{2|}}}{{{3|}}}|<!--
 
<includeonly>{{#if:{{{2|}}}{{{3|}}}|<!--
-->~{{#expr: {{{1}}} round {{Sigfigs|{{#expr: ({{{3}}} - {{{2}}}) / 2.0}} }} }} <!--
+
-->~{{rnd|{{{1}}}|-{{order of magnitude|{{#expr: ({{{3}}} - {{{2}}}) / 2.0}} }} }} <!--
-->({{#expr: {{{2}}} round {{Sigfigs|{{#expr: ({{{3}}} - {{{2}}}) / 2.0}} }} }}<!--
+
-->({{rnd|{{{2}}}|-{{order of magnitude|{{#expr: ({{{3}}} - {{{2}}}) / 2.0}} }} }}<!--
-->&ndash;{{#expr: {{{3}}} round {{Sigfigs|{{#expr: ({{{3}}} - {{{2}}}) / 2.0}} }} }})|{{{1|}}}}}</includeonly><noinclude>
+
-->&ndash;{{rnd|{{{3}}}|-{{order of magnitude|{{#expr: ({{{3}}} - {{{2}}}) / 2.0}} }} }})|{{{1|}}}}}</includeonly><noinclude>
 
{{template doc}}</noinclude>
 
{{template doc}}</noinclude>

Revision as of 17:19, 13 February 2012

Template documentation[view] [edit] [history] [purge]

Usage

This template is used to display a correctly rounded uncertain quantity and its uncertainty, where the uncertainty is different below and above the quantity. Its syntax is

{{AsymmetricErrorBar|uncertain-quantity|lower-bound|upper-bound}}.

For example:

See also