General Disclaimer: (HV) (DC) injury or death hazard, use at your own risk, may void warranty. |
Difference between revisions of "Template:L100km"
Jump to navigation
Jump to search
(Initial conversion template, will work once I get ''math'' installed) |
m |
||
Line 1: | Line 1: | ||
− | <includeonly>{{{1}}} L/100 km ({{#expr: 1 / ( {{{1}}} * 1.609344 / 3.78541179 ) * 100 round 0}} mpg)</includeonly> | + | <includeonly>{{{1}}} L/100 km ({{#expr: 1 / ( {{{1}}} * 1.609344 / 3.78541179 ) * 100 round 0}} mpg)</includeonly><noinclude> |
− | <noinclude> | ||
Template to convert fuel mileage form Liters per 100km into US mpg and display both | Template to convert fuel mileage form Liters per 100km into US mpg and display both | ||
:<nowiki>{{{1}}} L/100 km ({{#expr: 1 / ( {{{1}}} * 1.609344 / 3.78541179 ) * 100 round 0}} mpg)</nowiki> | :<nowiki>{{{1}}} L/100 km ({{#expr: 1 / ( {{{1}}} * 1.609344 / 3.78541179 ) * 100 round 0}} mpg)</nowiki> |
Revision as of 11:02, 3 June 2007
Template to convert fuel mileage form Liters per 100km into US mpg and display both
- {{{1}}} L/100 km ({{#expr: 1 / ( {{{1}}} * 1.609344 / 3.78541179 ) * 100 round 0}} mpg)
Useage:
- {{L100km|5.2}} results in 5.2 L/100 km (45 mpg)
See also: