Jump to content

Template talk:Convert/testcases/sandbox4

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

To see the current results, it may be necessary to purge this page.

The expected results can be created using {{convert/sandbox}} with:

  • {{#invoke:convert/tester|make_tests|page=Template:Convert/testcases/sandbox4|show=all|test=nopreview|template=convert/sandbox}}

The tests can be run using {{convert/sandbox}} with:

  • {{#invoke:convert/tester|run_tests|page=Template:Convert/testcases/sandbox4|template=convert/sandbox}}

The tests can be run using {{convert}} with:

  • {{#invoke:convert/tester|run_tests|page=Template:Convert/testcases/sandbox4}}

Using Template:convert/sandbox: 17 tests failed.

Template Expected Actual, if different Status
{{convert|10|Scwt|lb|0|abbr=on}} 10 short hundredweight (1,000 lb) Pass
{{convert|2|ST|10|Scwt|lb|0|abbr=on}} 2 short tons 10 cwt (5,000 lb) Pass
{{convert|200|lb|kg Scwt|0|abbr=on}} 200 lb (91 kg; 2 short hundredweight) Pass
{{convert|4500|lb|t Scwt|0|abbr=on}} 4,500 lb (2 t; 45 short hundredweight) Pass
{{convert|2|ST|5|Scwt|lb|0|abbr=on}} 2 short tons 5 cwt (4,500 lb) Pass
{{convert|2|LT|5|Lcwt|lb|0|abbr=on}} 2 long tons 5 cwt (5,040 lb) Pass
{{convert|2|LT|5|Lcwt|3|qtr|lb|0|abbr=on}} 2 long tons 5 cwt 3 qtr (5,124 lb) Pass
{{convert|2|lt|5|Lcwt|lb|0|abbr=on}} 2 LT 5 cwt (5,040 lb) Pass
{{convert|2|lt|5|Lcwt|3|qtr|lb|0|abbr=on}} 2 LT 5 cwt 3 qtr (5,124 lb) Pass
{{convert|2|lt|10|Lcwt|lb|0|abbr=on}} 2 LT 10 cwt (5,600 lb) Pass
{{convert|2|lt|10|Lcwt|2|qtr|lb|0|abbr=on}} 2 LT 10 cwt 2 qtr (5,656 lb) Pass
{{convert|2|LT|10|Lcwt|lb|0|abbr=on}} 2 long tons 10 cwt (5,600 lb) Pass
{{convert|2|LT|10|Lcwt|2|qtr|lb|0|abbr=on}} 2 long tons 10 cwt 2 qtr (5,656 lb) Pass
{{convert|10|Scwt|lb|0|abbr=off}} 10 short hundredweight (1,000 pounds) Pass
{{convert|2|ST|10|Scwt|lb|0|abbr=off}} 2 short tons 10 hundredweight (5,000 pounds) Pass
{{convert|200|lb|kg Scwt|0|abbr=off}} 200 pounds (91 kilograms; 2 short hundredweight) Pass
{{convert|4500|lb|t Scwt|0|abbr=off}} 4,500 pounds (2 tonnes; 45 short hundredweight) Pass
{{convert|2|ST|5|Scwt|lb|0|abbr=off}} 2 short tons 5 hundredweight (4,500 pounds) Pass
{{convert|2|LT|5|Lcwt|lb|0|abbr=off}} 2 long tons 5 hundredweight (5,040 pounds) Pass
{{convert|2|LT|5|Lcwt|3|qtr|lb|0|abbr=off}} 2 long tons 5 hundredweight 3 quarters (5,124 pounds) Pass
{{convert|2|lt|5|Lcwt|lb|0|abbr=off}} 2 long tons 5 hundredweight (5,040 pounds) Pass
{{convert|2|lt|5|Lcwt|3|qtr|lb|0|abbr=off}} 2 long tons 5 hundredweight 3 quarters (5,124 pounds) Pass
{{convert|2|lt|10|Lcwt|lb|0|abbr=off}} 2 long tons 10 hundredweight (5,600 pounds) Pass
{{convert|2|lt|10|Lcwt|2|qtr|lb|0|abbr=off}} 2 long tons 10 hundredweight 2 quarters (5,656 pounds) Pass
{{convert|2|LT|10|Lcwt|lb|0|abbr=off}} 2 long tons 10 hundredweight (5,600 pounds) Pass
{{convert|2|LT|10|Lcwt|2|qtr|lb|0|abbr=off}} 2 long tons 10 hundredweight 2 quarters (5,656 pounds) Pass
{{convert|125UNIQdbb89ca034aa246d-ref-00000007-QINU|ft}} 125UNIQdbb89ca034aa246d-ref-00000007-QINU feet (38 m) Pass
{{convert|125UNIQdbb89ca034aa246d-ref-00000007-QINU|-|135UNIQ034adbb89caa246d-ref-000abCD7-QINU|cm|in}} 125UNIQdbb89ca034aa246d-ref-00000007-QINU–135UNIQ034adbb89caa246d-ref-000abCD7-QINU centimetres (49–53 in) Pass
{{convert|3⁄8|m|mm|2}} 38 metre (375.00 mm) 38 metre (375.00 mm) Fail
(above, nowiki) <span class="frac nowrap"><sup>3</sup>&frasl;<sub>8</sub></span> metre (375.00&nbsp;mm) '"`UNIQ--templatestyles-00000000-QINU`"'<span class="frac"><span class="num">3</span>&frasl;<span class="den">8</span></span> metre (375.00&nbsp;mm)
{{convert| 3 ⁄ 8 |m|mm|2}} 38 metre (375.00 mm) 38 metre (375.00 mm) Fail
(above, nowiki) <span class="frac nowrap"><sup>3</sup>&frasl;<sub>8</sub></span> metre (375.00&nbsp;mm) '"`UNIQ--templatestyles-00000000-QINU`"'<span class="frac"><span class="num">3</span>&frasl;<span class="den">8</span></span> metre (375.00&nbsp;mm)
{{convert|12+5⁄8|m|mm|2}} 12 58 metres (12,625.00 mm) 12+58 metres (12,625.00 mm) Fail
(above, nowiki) <span class="frac nowrap">12<span class="visualhide">&nbsp;</span><sup>5</sup>&frasl;<sub>8</sub></span> metres (12,625.00&nbsp;mm) '"`UNIQ--templatestyles-00000000-QINU`"'<span class="frac">12<span class="sr-only">+</span><span class="num">5</span>&frasl;<span class="den">8</span></span> metres (12,625.00&nbsp;mm)
{{convert| 12 + 5 ⁄ 8 |m|mm|2}} 12 58 metres (12,625.00 mm) 12+58 metres (12,625.00 mm) Fail
(above, nowiki) <span class="frac nowrap">12<span class="visualhide">&nbsp;</span><sup>5</sup>&frasl;<sub>8</sub></span> metres (12,625.00&nbsp;mm) '"`UNIQ--templatestyles-00000000-QINU`"'<span class="frac">12<span class="sr-only">+</span><span class="num">5</span>&frasl;<span class="den">8</span></span> metres (12,625.00&nbsp;mm)
{{convert|12.3|$/acre}} $12.3 per acre ($30/ha) Pass
{{convert|12.3|$/ha}} $12.3 per hectare ($5.0/acre) Pass
{{convert|12.3|$/m2}} $12.3 per square metre ($1.14/sq ft) Pass
{{convert|12.3|$/sqft}} $12.3 per square foot ($132/m2) Pass
{{convert|12.3|$/km}} $12.3 per kilometre ($19.8/mi) Pass
{{convert|12.3|$/mi}} $12.3 per mile ($7.6/km) Pass
{{convert|12.3|$/kg}} $12.3 per kilogram ($5.6/lb) Pass
{{convert|12.3|$/g}} $12.3 per gram ($350/oz) Pass
{{convert|12.3|$/lb}} $12.3 per pound ($27/kg) Pass
{{convert|12.3|$/oz}} $12.3 per ounce ($0.43/g) Pass
{{convert|12.3|$/ozt}} $12.3 per troy ounce ($11.2/oz) Pass
{{convert|12.3|$/m3}} $12.3 per cubic metre ($0.35/cu ft) Pass
{{convert|12.3|$/oilbbl}} $12.3 per barrel ($77/m3) Pass
{{convert|12.3|£/acre}} £12.3 per acre (£30/ha) Pass
{{convert|12.3|£/ha}} £12.3 per hectare (£5.0/acre) Pass
{{convert|12.3|$/acre|abbr=on}} $12.3/acre ($30/ha) Pass
{{convert|12.3|$/ha|abbr=on}} $12.3/ha ($5.0/acre) Pass
{{convert|12.3|$/m2|abbr=on}} $12.3/m2 ($1.14/sq ft) Pass
{{convert|12.3|$/sqft|abbr=on}} $12.3/sq ft ($132/m2) Pass
{{convert|12.3|$/km|abbr=on}} $12.3/km ($19.8/mi) Pass
{{convert|12.3|$/mi|abbr=on}} $12.3/mi ($7.6/km) Pass
{{convert|12.3|$/kg|abbr=on}} $12.3/kg ($5.6/lb) Pass
{{convert|12.3|$/g|abbr=on}} $12.3/g ($350/oz) Pass
{{convert|12.3|$/lb|abbr=on}} $12.3/lb ($27/kg) Pass
{{convert|12.3|$/oz|abbr=on}} $12.3/oz ($0.43/g) Pass
{{convert|12.3|$/ozt|abbr=on}} $12.3/ozt ($11.2/oz) Pass
{{convert|12.3|$/m3|abbr=on}} $12.3/m3 ($0.35/cu ft) Pass
{{convert|12.3|$/oilbbl|abbr=on}} $12.3/bbl ($77/m3) Pass
{{convert|12.3|£/acre|abbr=on}} £12.3/acre (£30/ha) Pass
{{convert|12.3|£/ha|abbr=on}} £12.3/ha (£5.0/acre) Pass
{{convert|12.3|$/acre|abbr=off}} $12.3 per acre ($30 per hectare) Pass
{{convert|12.3|$/ha|abbr=off}} $12.3 per hectare ($5.0 per acre) Pass
{{convert|12.3|$/m2|abbr=off}} $12.3 per square metre ($1.14 per square foot) Pass
{{convert|12.3|$/sqft|abbr=off}} $12.3 per square foot ($132 per square metre) Pass
{{convert|12.3|$/km|abbr=off}} $12.3 per kilometre ($19.8 per mile) Pass
{{convert|12.3|$/mi|abbr=off}} $12.3 per mile ($7.6 per kilometre) Pass
{{convert|12.3|$/kg|abbr=off}} $12.3 per kilogram ($5.6 per pound) Pass
{{convert|12.3|$/g|abbr=off}} $12.3 per gram ($350 per ounce) Pass
{{convert|12.3|$/lb|abbr=off}} $12.3 per pound ($27 per kilogram) Pass
{{convert|12.3|$/oz|abbr=off}} $12.3 per ounce ($0.43 per gram) Pass
{{convert|12.3|$/ozt|abbr=off}} $12.3 per troy ounce ($11.2 per ounce) Pass
{{convert|12.3|$/m3|abbr=off}} $12.3 per cubic metre ($0.35 per cubic foot) Pass
{{convert|12.3|$/oilbbl|abbr=off}} $12.3 per barrel ($77 per cubic metre) Pass
{{convert|12.3|£/acre|abbr=off}} £12.3 per acre (£30 per hectare) Pass
{{convert|12.3|£/ha|abbr=off}} £12.3 per hectare (£5.0 per acre) Pass
{{convert|12.3|$/acre|$=euro}} €12.3 per acre (€30/ha) Pass
{{convert|12.3|$/ha|$=euro}} €12.3 per hectare (€5.0/acre) Pass
{{convert|12.3|$/m2|$=euro}} €12.3 per square metre (€1.14/sq ft) Pass
{{convert|12.3|$/sqft|$=euro}} €12.3 per square foot (€132/m2) Pass
{{convert|12.3|$/km|$=euro}} €12.3 per kilometre (€19.8/mi) Pass
{{convert|12.3|$/mi|$=euro}} €12.3 per mile (€7.6/km) Pass
{{convert|12.3|$/kg|$=euro}} €12.3 per kilogram (€5.6/lb) Pass
{{convert|12.3|$/g|$=euro}} €12.3 per gram (€350/oz) Pass
{{convert|12.3|$/lb|$=euro}} €12.3 per pound (€27/kg) Pass
{{convert|12.3|$/oz|$=euro}} €12.3 per ounce (€0.43/g) Pass
{{convert|12.3|$/ozt|$=euro}} €12.3 per troy ounce (€11.2/oz) Pass
{{convert|12.3|$/m3|$=euro}} €12.3 per cubic metre (€0.35/cu ft) Pass
{{convert|12.3|$/oilbbl|$=euro}} €12.3 per barrel (€77/m3) Pass
{{convert|12.3|£/acre|$=euro}} €12.3 per acre (€30/ha) Pass
{{convert|12.3|£/ha|$=euro}} €12.3 per hectare (€5.0/acre) Pass
{{convert|12.3|$/acre|abbr=on|$=euro}} €12.3/acre (€30/ha) Pass
{{convert|12.3|$/ha|abbr=on|$=euro}} €12.3/ha (€5.0/acre) Pass
{{convert|12.3|$/m2|abbr=on|$=euro}} €12.3/m2 (€1.14/sq ft) Pass
{{convert|12.3|$/sqft|abbr=on|$=euro}} €12.3/sq ft (€132/m2) Pass
{{convert|12.3|$/km|abbr=on|$=euro}} €12.3/km (€19.8/mi) Pass
{{convert|12.3|$/mi|abbr=on|$=euro}} €12.3/mi (€7.6/km) Pass
{{convert|12.3|$/kg|abbr=on|$=euro}} €12.3/kg (€5.6/lb) Pass
{{convert|12.3|$/g|abbr=on|$=euro}} €12.3/g (€350/oz) Pass
{{convert|12.3|$/lb|abbr=on|$=euro}} €12.3/lb (€27/kg) Pass
{{convert|12.3|$/oz|abbr=on|$=euro}} €12.3/oz (€0.43/g) Pass
{{convert|12.3|$/ozt|abbr=on|$=euro}} €12.3/ozt (€11.2/oz) Pass
{{convert|12.3|$/m3|abbr=on|$=euro}} €12.3/m3 (€0.35/cu ft) Pass
{{convert|12.3|$/oilbbl|abbr=on|$=euro}} €12.3/bbl (€77/m3) Pass
{{convert|12.3|£/acre|abbr=on|$=euro}} €12.3/acre (€30/ha) Pass
{{convert|12.3|£/ha|abbr=on|$=euro}} €12.3/ha (€5.0/acre) Pass
{{convert|12.3|$/acre|abbr=off|$=euro}} €12.3 per acre (€30 per hectare) Pass
{{convert|12.3|$/ha|abbr=off|$=euro}} €12.3 per hectare (€5.0 per acre) Pass
{{convert|12.3|$/m2|abbr=off|$=euro}} €12.3 per square metre (€1.14 per square foot) Pass
{{convert|12.3|$/sqft|abbr=off|$=euro}} €12.3 per square foot (€132 per square metre) Pass
{{convert|12.3|$/km|abbr=off|$=euro}} €12.3 per kilometre (€19.8 per mile) Pass
{{convert|12.3|$/mi|abbr=off|$=euro}} €12.3 per mile (€7.6 per kilometre) Pass
{{convert|12.3|$/kg|abbr=off|$=euro}} €12.3 per kilogram (€5.6 per pound) Pass
{{convert|12.3|$/g|abbr=off|$=euro}} €12.3 per gram (€350 per ounce) Pass
{{convert|12.3|$/lb|abbr=off|$=euro}} €12.3 per pound (€27 per kilogram) Pass
{{convert|12.3|$/oz|abbr=off|$=euro}} €12.3 per ounce (€0.43 per gram) Pass
{{convert|12.3|$/ozt|abbr=off|$=euro}} €12.3 per troy ounce (€11.2 per ounce) Pass
{{convert|12.3|$/m3|abbr=off|$=euro}} €12.3 per cubic metre (€0.35 per cubic foot) Pass
{{convert|12.3|$/oilbbl|abbr=off|$=euro}} €12.3 per barrel (€77 per cubic metre) Pass
{{convert|12.3|£/acre|abbr=off|$=euro}} €12.3 per acre (€30 per hectare) Pass
{{convert|12.3|£/ha|abbr=off|$=euro}} €12.3 per hectare (€5.0 per acre) Pass
{{convert|12.3|$/acre|$=€}} €12.3 per acre (€30/ha) Pass
{{convert|12.3|$/ha|$=€}} €12.3 per hectare (€5.0/acre) Pass
{{convert|12.3|$/m2|$=€}} €12.3 per square metre (€1.14/sq ft) Pass
{{convert|12.3|$/sqft|$=€}} €12.3 per square foot (€132/m2) Pass
{{convert|12.3|$/km|$=€}} €12.3 per kilometre (€19.8/mi) Pass
{{convert|12.3|$/mi|$=€}} €12.3 per mile (€7.6/km) Pass
{{convert|12.3|$/kg|$=€}} €12.3 per kilogram (€5.6/lb) Pass
{{convert|12.3|$/g|$=€}} €12.3 per gram (€350/oz) Pass
{{convert|12.3|$/lb|$=€}} €12.3 per pound (€27/kg) Pass
{{convert|12.3|$/oz|$=€}} €12.3 per ounce (€0.43/g) Pass
{{convert|12.3|$/ozt|$=€}} €12.3 per troy ounce (€11.2/oz) Pass
{{convert|12.3|$/m3|$=€}} €12.3 per cubic metre (€0.35/cu ft) Pass
{{convert|12.3|$/oilbbl|$=€}} €12.3 per barrel (€77/m3) Pass
{{convert|12.3|£/acre|$=€}} €12.3 per acre (€30/ha) Pass
{{convert|12.3|£/ha|$=€}} €12.3 per hectare (€5.0/acre) Pass
{{convert|12.3|$/acre|abbr=on|$=€}} €12.3/acre (€30/ha) Pass
{{convert|12.3|$/ha|abbr=on|$=€}} €12.3/ha (€5.0/acre) Pass
{{convert|12.3|$/m2|abbr=on|$=€}} €12.3/m2 (€1.14/sq ft) Pass
{{convert|12.3|$/sqft|abbr=on|$=€}} €12.3/sq ft (€132/m2) Pass
{{convert|12.3|$/km|abbr=on|$=€}} €12.3/km (€19.8/mi) Pass
{{convert|12.3|$/mi|abbr=on|$=€}} €12.3/mi (€7.6/km) Pass
{{convert|12.3|$/kg|abbr=on|$=€}} €12.3/kg (€5.6/lb) Pass
{{convert|12.3|$/g|abbr=on|$=€}} €12.3/g (€350/oz) Pass
{{convert|12.3|$/lb|abbr=on|$=€}} €12.3/lb (€27/kg) Pass
{{convert|12.3|$/oz|abbr=on|$=€}} €12.3/oz (€0.43/g) Pass
{{convert|12.3|$/ozt|abbr=on|$=€}} €12.3/ozt (€11.2/oz) Pass
{{convert|12.3|$/m3|abbr=on|$=€}} €12.3/m3 (€0.35/cu ft) Pass
{{convert|12.3|$/oilbbl|abbr=on|$=€}} €12.3/bbl (€77/m3) Pass
{{convert|12.3|£/acre|abbr=on|$=€}} €12.3/acre (€30/ha) Pass
{{convert|12.3|£/ha|abbr=on|$=€}} €12.3/ha (€5.0/acre) Pass
{{convert|12.3|$/acre|abbr=off|$=€}} €12.3 per acre (€30 per hectare) Pass
{{convert|12.3|$/ha|abbr=off|$=€}} €12.3 per hectare (€5.0 per acre) Pass
{{convert|12.3|$/m2|abbr=off|$=€}} €12.3 per square metre (€1.14 per square foot) Pass
{{convert|12.3|$/sqft|abbr=off|$=€}} €12.3 per square foot (€132 per square metre) Pass
{{convert|12.3|$/km|abbr=off|$=€}} €12.3 per kilometre (€19.8 per mile) Pass
{{convert|12.3|$/mi|abbr=off|$=€}} €12.3 per mile (€7.6 per kilometre) Pass
{{convert|12.3|$/kg|abbr=off|$=€}} €12.3 per kilogram (€5.6 per pound) Pass
{{convert|12.3|$/g|abbr=off|$=€}} €12.3 per gram (€350 per ounce) Pass
{{convert|12.3|$/lb|abbr=off|$=€}} €12.3 per pound (€27 per kilogram) Pass
{{convert|12.3|$/oz|abbr=off|$=€}} €12.3 per ounce (€0.43 per gram) Pass
{{convert|12.3|$/ozt|abbr=off|$=€}} €12.3 per troy ounce (€11.2 per ounce) Pass
{{convert|12.3|$/m3|abbr=off|$=€}} €12.3 per cubic metre (€0.35 per cubic foot) Pass
{{convert|12.3|$/oilbbl|abbr=off|$=€}} €12.3 per barrel (€77 per cubic metre) Pass
{{convert|12.3|£/acre|abbr=off|$=€}} €12.3 per acre (€30 per hectare) Pass
{{convert|12.3|£/ha|abbr=off|$=€}} €12.3 per hectare (€5.0 per acre) Pass
{{convert|12.3|$/m3|abbr=off|$=€|sp=us}} €12.3 per cubic meter (€0.35 per cubic foot) Pass
{{convert|2|ft|6|in|cm|abbr=on|sortable=on}} 2 ft 6 in (76 cm) Pass
{{convert|76.2|cm|ftin|abbr=on|sortable=on}} 76.2 cm (2 ft 6.0 in) Pass
{{convert|2|ft|6|in|cm|abbr=on|sortable=on|disp=table}} style="text-align:right;" data-sort-value="6999762000000000000"|2 ft 6 in
|style="text-align:right;" data-sort-value="6999762000000000000"|76 cm
Pass
{{convert|76.2|cm|ftin|abbr=on|sortable=on|disp=table}} style="text-align:right;" data-sort-value="6999762000000000000"|76.2 cm
|style="text-align:right;" data-sort-value="6999762000000000000"|2 ft 6.0 in
Pass
{{convert|2|ft|6|in|cm|abbr=on|sortable=on|order=flip}} 76 cm (2 ft 6 in) Pass
{{convert|76.2|cm|ftin|abbr=on|sortable=on|order=flip}} 2 ft 6.0 in (76.2 cm) Pass
{{convert|2|ft|6|in|cm|abbr=on|sortable=on|order=flip|disp=table}} style="text-align:right;" data-sort-value="6999762000000000000"|76 cm
|style="text-align:right;" data-sort-value="6999762000000000000"|2 ft 6 in
Pass
{{convert|76.2|cm|ftin|abbr=on|sortable=on|order=flip|disp=table}} style="text-align:right;" data-sort-value="6999762000000000000"|2 ft 6.0 in
|style="text-align:right;" data-sort-value="6999762000000000000"|76.2 cm
Pass
{{convert|76.2|cm|ftin mm in|abbr=on|sortable=on}} 76.2 cm (2 ft 6.0 in; 762 mm; 30.0 in) Pass
{{convert|76.2|cm|mm in|abbr=on|sortable=on}} 76.2 cm (762 mm; 30.0 in) Pass
{{convert|76.2|cm|in|abbr=on|sortable=on}} 76.2 cm (30.0 in) Pass
{{convert|76.2|cm|ftin mm in|abbr=on|sortable=on|disp=table}} style="text-align:right;" data-sort-value="6999762000000000000"|76.2 cm
|style="text-align:right;" data-sort-value="6999762000000000000"|2 ft 6.0 in
|style="text-align:right;" data-sort-value="6999762000000000000"|762 mm
|style="text-align:right;" data-sort-value="6999762000000000000"|30.0 in
Pass
{{convert|76.2|cm|mm in|abbr=on|sortable=on|disp=table}} style="text-align:right;" data-sort-value="6999762000000000000"|76.2 cm
|style="text-align:right;" data-sort-value="6999762000000000000"|762 mm
|style="text-align:right;" data-sort-value="6999762000000000000"|30.0 in
Pass
{{convert|76.2|cm|in|abbr=on|sortable=on|disp=table}} style="text-align:right;" data-sort-value="6999762000000000000"|76.2 cm
|style="text-align:right;" data-sort-value="6999762000000000000"|30.0 in
Pass
{{convert|76.2|cm|ftin mm in|abbr=on|sortable=on|order=flip}} 2 ft 6.0 in; 762 mm; 30.0 in (76.2 cm) Pass
{{convert|76.2|cm|mm in|abbr=on|sortable=on|order=flip}} 762 mm; 30.0 in (76.2 cm) Pass
{{convert|76.2|cm|in|abbr=on|sortable=on|order=flip}} 30.0 in (76.2 cm) Pass
{{convert|76.2|cm|ftin mm in|abbr=on|sortable=on|disp=table|order=flip}} style="text-align:right;" data-sort-value="6999762000000000000"|2 ft 6.0 in
|style="text-align:right;" data-sort-value="6999762000000000000"|762 mm
|style="text-align:right;" data-sort-value="6999762000000000000"|30.0 in
|style="text-align:right;" data-sort-value="6999762000000000000"|76.2 cm
Pass
{{convert|76.2|cm|mm in|abbr=on|sortable=on|disp=table|order=flip}} style="text-align:right;" data-sort-value="6999762000000000000"|762 mm
|style="text-align:right;" data-sort-value="6999762000000000000"|30.0 in
|style="text-align:right;" data-sort-value="6999762000000000000"|76.2 cm
Pass
{{convert|76.2|cm|in|abbr=on|sortable=on|disp=table|order=flip}} style="text-align:right;" data-sort-value="6999762000000000000"|30.0 in
|style="text-align:right;" data-sort-value="6999762000000000000"|76.2 cm
Pass
{{convert|1234|m|in}} 1,234 metres (48,600 in) Pass
{{convert|1234|m|in|comma=5}} 1234 metres (48,600 in) Pass
{{convert|1234|m|in|comma=gaps}} 1234 metres (48600 in) Pass
{{convert|1234|m|in|comma=gaps3}} 1234 metres (48600 in) Pass
{{convert|1234|m|in|comma=off}} 1234 metres (48600 in) Pass
{{convert|123456789|m|km}} 123,456,789 metres (123,456.789 km) Pass
{{convert|123456789|m|km|comma=5}} 123,456,789 metres (123,456.789 km) Pass
{{convert|123456789|m|km|comma=gaps}} 123456789 metres (123456.789 km) Pass
{{convert|123456789|m|km|comma=gaps3}} 123456789 metres (123456.789 km) Pass
{{convert|123456789|m|km|comma=off}} 123456789 metres (123456.789 km) Pass
{{convert|1234|to|5678|kg|oz}} 1,234 to 5,678 kilograms (43,500 to 200,300 oz) Pass
{{convert|1234|to|5678|kg|oz|comma=5}} 1234 to 5678 kilograms (43,500 to 200,300 oz) Pass
{{convert|1234|to|5678|kg|oz|comma=gaps}} 1234 to 5678 kilograms (43500 to 200300 oz) Pass
{{convert|1234|to|5678|kg|oz|comma=gaps3}} 1234 to 5678 kilograms (43500 to 200300 oz) Pass
{{convert|1234|to|5678|kg|oz|comma=off}} 1234 to 5678 kilograms (43500 to 200300 oz) Pass
{{convert|1/2|ft|ft|frac=2|abbr=off}} 12 foot (12 foot) 12 foot (12 foot) Fail
(above, nowiki) <span class="frac nowrap"><sup>1</sup>&frasl;<sub>2</sub></span> foot (<span class="frac nowrap"><sup>1</sup>&frasl;<sub>2</sub></span> foot) '"`UNIQ--templatestyles-00000000-QINU`"'<span class="frac"><span class="num">1</span>&frasl;<span class="den">2</span></span> foot (<span class="frac"><span class="num">1</span>&frasl;<span class="den">2</span></span> foot)
{{convert|1/2|mi|mi|abbr=off|frac=2|spell=on}} one-half mile (one-half mile) Pass
{{convert|999|ft|ft|abbr=off|sigfig=1}} 999 feet (1,000 feet) Pass
{{convert|9|ft|ft|abbr=off|-1}} 9 feet (10 feet) Pass
{{convert|1.0|ft|ft|abbr=off|sigfig=2}} 1.0 foot (1.0 foot) Pass
{{convert|0|sqyd|acre}} 0 square yards (0 acres) Pass
{{convert|-1|acre|sqyd|abbr=out}} −1 acre (−4,800 sq yd) Pass
{{convert|0.1|ha|acre}} 0.1 hectares (0.25 acres) Pass
{{convert|2/3|ft|in}} 23 foot (8.0 in) 23 foot (8.0 in) Fail
(above, nowiki) <span class="frac nowrap"><sup>2</sup>&frasl;<sub>3</sub></span> foot (8.0&nbsp;in) '"`UNIQ--templatestyles-00000000-QINU`"'<span class="frac"><span class="num">2</span>&frasl;<span class="den">3</span></span> foot (8.0&nbsp;in)
{{convert|1+2/3|ft|in}} 1 23 feet (20 in) 1+23 feet (20 in) Fail
(above, nowiki) <span class="frac nowrap">1<span class="sr-only">&nbsp;</span><sup>2</sup>&frasl;<sub>3</sub></span> feet (20&nbsp;in) '"`UNIQ--templatestyles-00000000-QINU`"'<span class="frac">1<span class="sr-only">+</span><span class="num">2</span>&frasl;<span class="den">3</span></span> feet (20&nbsp;in)
{{convert|-2/3|ft|in}} 23 foot (−8.0 in) 23 foot (−8.0 in) Fail
(above, nowiki) <span class="frac nowrap">−<sup>2</sup>&frasl;<sub>3</sub></span> foot (−8.0&nbsp;in) '"`UNIQ--templatestyles-00000000-QINU`"'<span class="frac">−<span class="num">2</span>&frasl;<span class="den">3</span></span> foot (−8.0&nbsp;in)
{{convert|-1-2/3|ft|in}} −1 23 feet (−20 in) −1+23 feet (−20 in) Fail
(above, nowiki) <span class="frac nowrap">−1<span class="sr-only">&nbsp;</span><sup>2</sup>&frasl;<sub>3</sub></span> feet (−20&nbsp;in) '"`UNIQ--templatestyles-00000000-QINU`"'<span class="frac">−1<span class="sr-only">+</span><span class="num">2</span>&frasl;<span class="den">3</span></span> feet (−20&nbsp;in)
{{convert|2/3|ft|in|spell=in}} two-thirds foot (8.0 in) Pass
{{convert|1+2/3|ft|in|spell=in}} one and two-thirds feet (20 in) Pass
{{convert|5/8|m|m|frac=8|abbr=on}} 58 m (58 m) 58 m (58 m) Fail
(above, nowiki) <span class="frac nowrap"><sup>5</sup>&frasl;<sub>8</sub></span>&nbsp;m (<span class="frac nowrap"><sup>5</sup>&frasl;<sub>8</sub></span>&nbsp;m) '"`UNIQ--templatestyles-00000000-QINU`"'<span class="frac"><span class="num">5</span>&frasl;<span class="den">8</span></span>&nbsp;m (<span class="frac"><span class="num">5</span>&frasl;<span class="den">8</span></span>&nbsp;m)
{{convert|12+5/8|m|m|frac=8|abbr=on}} 12 58 m (12 58 m) 12+58 m (12+58 m) Fail
(above, nowiki) <span class="frac nowrap">12<span class="sr-only">&nbsp;</span><sup>5</sup>&frasl;<sub>8</sub></span>&nbsp;m (<span class="frac nowrap">12<span class="sr-only">&nbsp;</span><sup>5</sup>&frasl;<sub>8</sub></span>&nbsp;m) '"`UNIQ--templatestyles-00000000-QINU`"'<span class="frac">12<span class="sr-only">+</span><span class="num">5</span>&frasl;<span class="den">8</span></span>&nbsp;m (<span class="frac">12<span class="sr-only">+</span><span class="num">5</span>&frasl;<span class="den">8</span></span>&nbsp;m)
{{convert|2//3|ft|in}} 2/3 foot (8.0 in) 2/3 foot (8.0 in) Fail
(above, nowiki) <span class="sfrac nowrap" style="display:inline-block; vertical-align:-0.5em; font-size:85%; text-align:center;"><span style="display:block; line-height:1em; margin:0 0.1em;">2</span><span class="sr-only">/</span><span style="display:block; line-height:1em; margin:0 0.1em; border-top:1px solid;">3</span></span> foot (8.0&nbsp;in) '"`UNIQ--templatestyles-00000000-QINU`"'<span class="sfrac tion"><span class="num">2</span><span class="sr-only">/</span><span class="den">3</span></span> foot (8.0&nbsp;in)
{{convert|1+2//3|ft|in}} 1 2/3 feet (20 in) 1+2/3 feet (20 in) Fail
(above, nowiki) <span class="sfrac nowrap">1<span class="sr-only">&nbsp;</span><span style="display:inline-block; vertical-align:-0.5em; font-size:85%; text-align:center;"><span style="display:block; line-height:1em; margin:0 0.1em;">2</span><span class="sr-only">/</span><span style="display:block; line-height:1em; margin:0 0.1em; border-top:1px solid;">3</span></span></span> feet (20&nbsp;in) '"`UNIQ--templatestyles-00000000-QINU`"'<span class="sfrac">1<span class="sr-only">+</span><span class="tion"><span class="num">2</span><span class="sr-only">/</span><span class="den">3</span></span></span> feet (20&nbsp;in)
{{convert|-2//3|ft|in}} −2/3 foot (−8.0 in) 2/3 foot (−8.0 in) Fail
(above, nowiki) <span class="sfrac nowrap" style="display:inline-block; vertical-align:-0.5em; font-size:85%; text-align:center;"><span style="display:block; line-height:1em; margin:0 0.1em;">−2</span><span class="sr-only">/</span><span style="display:block; line-height:1em; margin:0 0.1em; border-top:1px solid;">3</span></span> foot (−8.0&nbsp;in) '"`UNIQ--templatestyles-00000000-QINU`"'<span class="sfrac tion">−<span class="num">2</span><span class="sr-only">/</span><span class="den">3</span></span> foot (−8.0&nbsp;in)
{{convert|-1-2//3|ft|in}} −1 2/3 feet (−20 in) −1+2/3 feet (−20 in) Fail
(above, nowiki) <span class="sfrac nowrap">−1<span class="sr-only">&nbsp;</span><span style="display:inline-block; vertical-align:-0.5em; font-size:85%; text-align:center;"><span style="display:block; line-height:1em; margin:0 0.1em;">2</span><span class="sr-only">/</span><span style="display:block; line-height:1em; margin:0 0.1em; border-top:1px solid;">3</span></span></span> feet (−20&nbsp;in) '"`UNIQ--templatestyles-00000000-QINU`"'<span class="sfrac">−1<span class="sr-only">+</span><span class="tion"><span class="num">2</span><span class="sr-only">/</span><span class="den">3</span></span></span> feet (−20&nbsp;in)
{{convert|2//3|ft|in|spell=in}} two-thirds foot (8.0 in) Pass
{{convert|1+2//3|ft|in|spell=in}} one and two-thirds feet (20 in) Pass
{{convert|5//8|m|m|frac=-8|abbr=on}} 5/8 m (5/8 m) 5/8 m (5/8 m) Fail
(above, nowiki) <span class="sfrac nowrap" style="display:inline-block; vertical-align:-0.5em; font-size:85%; text-align:center;"><span style="display:block; line-height:1em; margin:0 0.1em;">5</span><span class="sr-only">/</span><span style="display:block; line-height:1em; margin:0 0.1em; border-top:1px solid;">8</span></span>&nbsp;m (<span class="sfrac nowrap" style="display:inline-block; vertical-align:-0.5em; font-size:85%; text-align:center;"><span style="display:block; line-height:1em; margin:0 0.1em;">5</span><span class="sr-only">/</span><span style="display:block; line-height:1em; margin:0 0.1em; border-top:1px solid;">8</span></span>&nbsp;m) '"`UNIQ--templatestyles-00000000-QINU`"'<span class="sfrac tion"><span class="num">5</span><span class="sr-only">/</span><span class="den">8</span></span>&nbsp;m (<span class="sfrac tion"><span class="num">5</span><span class="sr-only">/</span><span class="den">8</span></span>&nbsp;m)
{{convert|12+5//8|m|m|frac=-8|abbr=on}} 12 5/8 m (12 5/8 m) 12+5/8 m (12+5/8 m) Fail
(above, nowiki) <span class="sfrac nowrap">12<span class="sr-only">&nbsp;</span><span style="display:inline-block; vertical-align:-0.5em; font-size:85%; text-align:center;"><span style="display:block; line-height:1em; margin:0 0.1em;">5</span><span class="sr-only">/</span><span style="display:block; line-height:1em; margin:0 0.1em; border-top:1px solid;">8</span></span></span>&nbsp;m (<span class="sfrac nowrap">12<span class="sr-only">&nbsp;</span><span style="display:inline-block; vertical-align:-0.5em; font-size:85%; text-align:center;"><span style="display:block; line-height:1em; margin:0 0.1em;">5</span><span class="sr-only">/</span><span style="display:block; line-height:1em; margin:0 0.1em; border-top:1px solid;">8</span></span></span>&nbsp;m) '"`UNIQ--templatestyles-00000000-QINU`"'<span class="sfrac">12<span class="sr-only">+</span><span class="tion"><span class="num">5</span><span class="sr-only">/</span><span class="den">8</span></span></span>&nbsp;m (<span class="sfrac">12<span class="sr-only">+</span><span class="tion"><span class="num">5</span><span class="sr-only">/</span><span class="den">8</span></span></span>&nbsp;m)

Start a discussion about improving the Template:Convert/testcases/sandbox4 page

Start a discussion