Template:Unit/doc: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>David Yamakuchi
mNo edit summary
imported>David Yamakuchi
Line 4: Line 4:


#Format the units notation such that it can be compactly displayed in tables, etc.  
#Format the units notation such that it can be compactly displayed in tables, etc.  
and
#Remove the units for certain pages that may need to do math with the numeric (magnitude) value.
#Remove the units for certain pages that may need to do math with the numeric (magnitude) value.



Revision as of 12:36, 23 June 2008

Usage

This template is dual purpose:

  1. Format the units notation such that it can be compactly displayed in tables, etc.
  2. Remove the units for certain pages that may need to do math with the numeric (magnitude) value.

{{Unit|kJ/mol}}

Example:

{{Unit|kJ/mol}}

gives:

kJ/mol