Template:Round1: Difference between revisions
Jump to navigation
Jump to search
imported>David Yamakuchi mNo edit summary |
imported>David Yamakuchi mNo edit summary |
||
Line 12: | Line 12: | ||
|{{#ifeq:{{#expr: {{:{{{eName|}}}/Atomic mass}} round {{{MassDecimalPlaces|}}} }}|{{#expr: {{:{{{eName|}}}/Atomic mass}} round {{#expr:{{{MassDecimalPlaces|}}}-1}} }} | |{{#ifeq:{{#expr: {{:{{{eName|}}}/Atomic mass}} round {{{MassDecimalPlaces|}}} }}|{{#expr: {{:{{{eName|}}}/Atomic mass}} round {{#expr:{{{MassDecimalPlaces|}}}-1}} }} | ||
|{{#expr: {{:{{{eName|}}}/Atomic mass}} round {{{MassDecimalPlaces|}}} }}{{#ifeq:{{{MassDecimalPlaces|}}}|1|.0|0}} | |{{#expr: {{:{{{eName|}}}/Atomic mass}} round {{{MassDecimalPlaces|}}} }}{{#ifeq:{{{MassDecimalPlaces|}}}|1|.0|0}} | ||
|{{#expr: {{:{{{eName|}}}/Atomic mass}} round {{{MassDecimalPlaces|}}} }}}}}} }}</includeonly><noinclude> | |{{#expr: {{:{{{eName|}}}/Atomic mass}} round {{{MassDecimalPlaces|}}} }}}}}} }}</includeonly><noinclude>{{TlDoc}}</noinclude> | ||
Revision as of 13:00, 18 June 2008
This template was constructed to round the atomic mass numbers to one place after the decimal for {{Resizable periodic cell}} (for {{PTofE}}.)
Usage
{{MassRound|{{:Cobalt/Atomic mass}} }}
Expression error: Unrecognized punctuation character "[".0