Template:Km2 mi2
Appearance
This template converts a square kilometer value into square miles, and displays both values.
Usage
[edit]{{km2 mi2|number|sig figs|allow decimal}}
Example:
{{km2 mi2|512}}
→ 512 (198){{km2 mi2|512|2}}
→ 510 (200){{km2 mi2|512.3|4|yes}}
→ 512.3 (197.8)
The second argument is the maximum number of significant figures. Values are rounded to the nearest integer unless a value is present in the third argument.