Difference between revisions of "Template:Cv"

From geofiction
Jump to navigation Jump to search
(Created page with "<!-- Please DO NOT EDIT! Please contact User:Mstr for any edits! --><includeonly>{{#iferror: {{#if:{{{1}}} | {{#if:{{{2}}} | {{#if:{{{3}}} | {{#expr: {{{1}}}*{{cv_sub|{{{2}}}}...")
 
(No difference)

Latest revision as of 10:01, 22 October 2021


Usage

{{cv|value|from_unit|to_unit|accuracy}}

Examples

Convert lengths

m to km

{{cv|33576|m|km}}

result: 33.576

km to mi

{{cv|1|km|mi}}

result: 0.621371192237

{{cv|1|km|mi|4}}

result: 0.6214

mi to km

{{cv|1|mi|km|5}}

result: 1.60934

{{cv|15.67|mi|km|5}}

result: 25.21842

nm to km

{{cv|1|nm|km|5}}

result: 1.852

{{cv|64.3|nm|km|5}}

result: 119.0836

Convert areas

km2 to m2

{{cv|922|km2|m2}}

result: 922000000

km2 to sqmi

{{cv|33|km2|sqmi}}

result: 12.7413712319

{{cv|33|km2|sqmi|3}}

result: 12.741

Convert speed

m/h to km/h

{{cv|50000|m/h|km/h|2}}

result: 50

m/s to km/h

{{cv|50|m/s|km/h|2}}

result: 180

km/h to mi/h

{{cv|25|km/h|mi/h|2}}

result: 15.53

kn to km/h

{{cv|40|kn|km/h|2}}

result: 74.08