Difference between revisions of "Template:FeetToMeters"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<includeonly>{{#expr: ( {{{ft|{{{feet|{{{1}}}}}}}}} * 12 + {{{in|{{{inches|{{{2|{{{inch|0}}}}}}}}}}}}) * 0.0254}}</includeonly><noinclude>{{Usage|Converts feet and inches to meters. Example: | <includeonly>{{#expr: ({{{mi|{{{mile|{{{miles|{{{4|0}}}}}}}}}}}} * 63360 + {{{yd|{{{yard|{{{yards|{{{3|0}}}}}}}}}}}} * 36 + {{{ft|{{{feet|{{{1|0}}}}}}}}} * 12 + {{{in|{{{inches|{{{2|{{{inch|0}}}}}}}}}}}}) * 0.0254}}</includeonly><noinclude>{{Usage|Converts feet and inches (and, if needed, yards and miles) to meters. Example: | ||
<pre>{{FeetToMeters|6|0}}</pre> | <pre>{{FeetToMeters|6|0}}</pre> | ||
- Displays: {{FeetToMeters|6|0}}}}</noinclude> | - Displays: {{FeetToMeters|6|0}}}}</noinclude> |
Latest revision as of 11:44, 7 October 2021
Usage
These usage notes will not be included in articles bearing this template.
Converts feet and inches (and, if needed, yards and miles) to meters. Example:
{{FeetToMeters|6|0}}
- Displays: 1.8288