Difference between revisions of "Template:TonCwt to t/doc"

From Recidemia
Jump to: navigation, search
(See also: typo)
 
m (1 revision: 1)
 
(No difference)

Latest revision as of 19:26, 20 March 2012

Usage

This template is intended to allow entry of imperial weights (Avoirdupois), measured in [long] tons and hundredweights (ton,cwt) and provide a conversion into pounds and [metric] tonnes.

The value for pounds (lb) is rounded to the nearest 100. The value for tonnes (t) is rounded to 1 decimal place.

This format is traditional for the specification of locomotives manufactured or used in the UK, and some other Commonweath countries.

Syntax

  • {{TonCwt to t | number of tons | number of cwt }}
  • {{TonCwt to t | number of tons | number of cwt | lk=on }}
to link "ton(s)" to Avoirdupois#British adaptation.

Example

For example:

  • Locomotive weight: {{TonCwt to t|35|4}}.
gives: "Locomotive weight: 35 tons 4 cwt (78,800 lb or 35.7 t)."
  • Locomotive weight: {{TonCwt to t|35|4|lk=on}}.
gives: "Locomotive weight: 35 tons 4 cwt (78,800 lb or 35.7 t)."


See also