Difference between revisions of "Template:Chem molar mass/calc charge"
Jump to navigation
Jump to search
imported>DePiep (0.000548579909070 = exatrctly hte number as defined by source NIST (2014 CODATA). No need to use the 1/x value.) |
imported>DePiep |
||
| Line 1: | Line 1: | ||
| − | <!-- | + | <!-- get the +/- operator (inverse to charge sign): |
| − | + | -->({{#ifeq:{{#invoke:String|find|source={{{charge|0}}}|target=[%-%−]|plain=false}}|0|-|}}<!-- | |
| + | get the number (absolute ie positive): | ||
| + | -->{{#invoke:String|replace|source={{{charge|0}}}|pattern=[%-%−%+%, ]|replace=|plain=false}} * 0.000548579909070)<!-- | ||
| − | + | The number is from: See documentation: NIST, 2014 CODATA | |
| − | |||
--><noinclude>{{documentation}}</noinclude> | --><noinclude>{{documentation}}</noinclude> | ||
Revision as of 08:56, 8 February 2019
(-0 * 0.000548579909070)
|charge=-1→ Template:Val
{{Chem molar mass|charge=-1}}→ Template:Val g·mol−1
- Source
- "electron mass in u (me)". NIST.
2014 CODATA
- Template:Val
- Template:Val as used (15 decimals)
Usage
- (-0 * 0.000548579909070)
- (-0 * 0.000548579909070)
- (0 * 0.000548579909070)
- (-1 * 0.000548579909070)
- (-1 * 0.000548579909070)
- (1 * 0.000548579909070)
- (1 * 0.000548579909070)
- (-2 * 0.000548579909070)
- (1 * 0.000548579909070)
- (1 * 0.000548579909070)
- (20 * 0.000548579909070)
- (2.57 * 0.000548579909070)
- (2573 * 0.000548579909070)
option charge=+, - (no number)
- (-1 * 0.000548579909070)
- (1 * 0.000548579909070)
- (1 * 0.000548579909070)
- (- * 0.000548579909070)
- ( * 0.000548579909070)
- ( * 0.000548579909070)
- (-2 * 0.000548579909070)
- (2 * 0.000548579909070)
- (2 * 0.000548579909070)
| The above documentation is transcluded from Template:Chem molar mass/calc charge/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |