Template:SquareMilesAndKm

From Wikipedia, the free encyclopedia

mi2 (3 km2)

Given a value in square miles it displays square miles and the equivalent number of square kilometres in parenthesis. Rounding is optional and is specified as | round=<decimal digits>. The default is round=0, which displays no digits after the decimal.

For example:

{{SquareMilesAndKm | 8.5 | round=3}}

shows

8.5 mi2 (22.015 km2)