Difference between revisions of "Template:Chem molar mass/calc charge/sandbox"
Jump to navigation
Jump to search
imported>DePiep |
imported>DePiep |
||
| Line 2: | Line 2: | ||
-->({{#ifeq:{{#invoke:String|find|source={{{charge|0}}}|target=[%-%−]|plain=false}}|0|-|}}<!-- | -->({{#ifeq:{{#invoke:String|find|source={{{charge|0}}}|target=[%-%−]|plain=false}}|0|-|}}<!-- | ||
get the number (absolute ie positive): | get the number (absolute ie positive): | ||
| − | -->{{#invoke:String|replace|source={{#invoke:String|replace|source={{{charge|0}}}|pattern=^[%-%−%+]$|replace=1|plain=false}}|pattern=[%-%−%+%, ]|replace=|plain=false}} * 0.000548579909070) | + | -->{{#invoke:String|replace|source={{#invoke:String|replace|source={{{charge|0}}}|pattern=^[%-%−%+]$|replace=1|plain=false}}|pattern=[%-%−%+%, ]|replace=|plain=false}} * 0.000548579909070)<!-- |
| − | The number is from: | + | The number is from: see documentation: NIST, 2014 CODATA |
--><noinclude>{{documentation}}</noinclude> | --><noinclude>{{documentation}}</noinclude> | ||
Latest revision as of 19:34, 17 February 2019
(-0 * 0.000548579909070)
| This is the template sandbox page for Template:Chem molar mass/calc charge (diff). |
|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)
- (-1 * 0.000548579909070)
- (1 * 0.000548579909070)
- (1 * 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. |