Template:Infobox road/meta/length/sandbox



The Template:Infobox_road/meta/length converts miles to kilometres, or the reverse, where parameter 1 is "mi" or "km" and the distance is length=567.3 or such.

The template rounds the result to the precision of the input decimal digits, where, for example, {&#123;precision|234.65}} is 2, for 2 decimal digits. The template expansion depth is 6 levels, of the 41-level limit.