Template:InchDec/doc: Difference between revisions

From The Freestyle Knowledge Base
Jump to navigation Jump to search
(Created page with "{{documentation subpage}} <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> == Usage == This template takes a decimal length value (in inches) as input and displays this s...")
 
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 9: Line 9:
===Example Usage===
===Example Usage===
Enter the Decimal value to be displayed.
Enter the Decimal value to be displayed.
<pre>
{{InchDec|7.375}}
{{InchDec|7.375}}
</pre>


=== Blank template ===
=== Blank template ===
Line 15: Line 17:
{{InchDec|}}
{{InchDec|}}
</pre>
</pre>
== Example Output ==
Input:
<pre>
{{InchDec|7.375}}
</pre>
Output:
{{InchDec|7.375}}

Latest revision as of 02:06, 12 March 2016

Usage

This template takes a decimal length value (in inches) as input and displays this same value, plus the fractional and mm (millimetre) equivalents.

Example Output: 7 3/8" (7.375 in, 187.3 mm)

Example Usage

Enter the Decimal value to be displayed.

{{InchDec|7.375}}

Blank template

{{InchDec|}}

Example Output

Input:

{{InchDec|7.375}}

Output:


187.3 mm