Template:Round1

From Citizendium
Revision as of 12:01, 18 June 2008 by imported>David Yamakuchi
Jump to navigation Jump to search

This template was constructed to round the atomic mass numbers to one, two, or more places after the decimal for {{Resizable periodic cell}} (for {{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