Template:Round1/doc: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>David Yamakuchi
m (New page: This template was constructed to round the atomic mass numbers to one, two, or more places after the decimal for {{tl|Resizable periodic cell}} (for {{tl|PTofE}}.) Note: This thing is a...)
 
imported>David Yamakuchi
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
This template was constructed to round the atomic mass numbers to one, two, or more places after the decimal for {{tl|Resizable periodic cell}} (for {{tl|PTofE}}.)   
This template was constructed to round the atomic mass numbers to one place after the decimal for {{tl|Resizable periodic cell}} (for {{tl|PTofE}}.)   


Note: This thing is a hack.  It is way too big and it doesn't even cover all the possible cases of truncation of rounded zeros.  If someone knows how to properly retain the trailing zeros for rounded numbers _without_ making the code ridiculously large, then please by all means lend a hand...dy
==Usage==
 
<pre>{{MassRound|{{:Cobalt/Atomic mass}} }}</pre>
 
{{MassRound|{{:Cobalt/Atomic mass}} }}

Latest revision as of 12:15, 22 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