Frequently asked questions
|
![]() |
Template:Convert is permanently
protected from editing because it is a
heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by
consensus, editors may use {{
edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's
documentation to add usage notes or
categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
|
|||
This page has archives. Sections older than 42 days may be automatically archived by Lowercase sigmabot III when more than 2 sections are present. |
Related pages |
---|
Hello there, I want to convert the thrust of the engine to the article Kuznetsov NK-32 from kgf to kN and lbf but how do I do that? Vitaium ( talk) 11:39, 1 June 2024 (UTC)
In the third table at Danube#Discharge I can't figure out why the final columns are displaying differently to all the others with exactly the same markup (extract below).
markup
|
---|
{| class="wikitable" style="text-align:center;" !rowspan=2|Period ([[Common Era|CE]]) !rowspan=2|Scenario !colspan=2|P !colspan=2|T !colspan=2|Q !colspan=2|S |- !mm !in !°C !°F !m<sup>3</sup>/s !cu ft/s !10<sup>6</sup> metric tons !10<sup>6</sup> short tons |- |1530–1540 |Cool/wet |{{convert|794|mm|in|disp=table|sortable=on}} |{{convert|9.0|C|F|disp=table|sortable=on}} |{{convert|6,207|m3/s|cuft/s|disp=table|sortable=on}} |{{convert|72.9|e6t|e6ST|disp=table|sortable=on}} |- |1650–1660 |Cool/dry |{{convert|885|mm|in|disp=table|sortable=on}} |{{convert|8.4|C|F|disp=table|sortable=on}} |{{convert|7,929|m3/s|cuft/s|disp=table|sortable=on}} |{{convert|67.3|e6t|e6ST|disp=table|sortable=on|abbr=values}} |} |
Period ( CE) | Scenario | P | T | Q | S | ||||
---|---|---|---|---|---|---|---|---|---|
mm | in | °C | °F | m3/s | cu ft/s | 106 metric tons | 106 short tons | ||
1530–1540 | Cool/wet | 794 | 31.3 | 9.0 | 48.2 | 6,207 | 219,200 | 72.9 million | 80.4×10 6 |
1650–1660 | Cool/dry | 885 | 34.8 | 8.4 | 47.1 | 7,929 | 280,000 | 67.3 million | 74.2×10 6 |
As you can see, adding "abbr=values" makes no difference at all. I want the displayed values to be 72.9 and 80.4 Thryduulf ( talk) 16:44, 10 June 2024 (UTC)
e6t
) comes from the default of the input not being abbreviated. However, the output (e6ST
) is abbreviated and that gives the ugly exponent. The option to override that is abbr=unit
which gives both input and output unit symbols but preserves multiples such as million. Demo:
{{convert|67.3|e6t|e6ST}}
→ 67.3 million tonnes (74.2×10 6 short tons){{convert|67.3|e6t|e6ST|abbr=unit}}
→ 67.3 million t (74.2 million short tons)disp=table
needs abbr=values
to show the numbers only (abbr=values
is the default for disp=table
). I can't think of a workaround at the moment. In a few days I'll sit down and work out what's going on and might come up with a solution.
Johnuniq (
talk)
23:50, 10 June 2024 (UTC){{convert|72.9|t|ST|disp=table|sortable=on}}
giving:Period ( CE) | Scenario | P | T | Q | S | ||||
---|---|---|---|---|---|---|---|---|---|
mm | in | °C | °F | m3/s | cu ft/s | 106 metric tons | 106 short tons | ||
1530–1540 | Cool/wet | 794 | 31.3 | 9.0 | 48.2 | 6,207 | 219,200 | 72.9 | 80.4 |
1650–1660 | Cool/dry | 885 | 34.8 | 8.4 | 47.1 | 7,929 | 280,000 | 67.3 | 74.2 |
Stepho talk 00:02, 11 June 2024 (UTC)
I just came across the need to convert "between 500 million and 1 billion pounds." Is there an elegant way to do this, or am I stuck with "0.5 billion" or "1000 million"? See Hydrogen cyanide#Production and synthesis. ~ฅ(ↀωↀ=) neko-chan nyan 21:38, 17 June 2024 (UTC)
between 500 million and 1 billion pounds (between 230,000 and 450,000 t)". Convert can't handle that kind of operation. You would have to muck around with:
{{convert|500|e6lb|t|disp=number}}
→ 230,000{{convert|1|e9lb|t|disp=out}}
→ 450,000 tWhy are there no conversions for units of angular measurement?
Degrees (deg), radians (rad), milliradians (mrad), mils (mil—which exist in NATO, Soviet, and Polish streck variants), gradians/gons (grad/gon), grade/slope (%), gradient (run for every 1 unit of rise), ratio (rise/run), turns (tr/pla), (compass) points/winds (pt/wind), arcminutes/minutes of arc/minutes of angle (arcmin/'/moa), arcseconds (arcsec/"), hour angles, binary radians/binary degrees (brad), quadrants, sextants, octants are just a few of the common ones that should be included, and there are several other historical and parochial units of angular measurement as well.
Hermes Thrice Great ( talk) 05:38, 2 July 2024 (UTC)
At Transport in Switzerland#Railways I've found a need to convert 122 km/1000 km2 into imperial (probably something like miles per 100 or 1000 sqmi). Is this something convert can handled? In the article I've gone with separate conversions to come up with 76 mi per 390 sq mi which is not ideal. Thryduulf ( talk) 16:58, 19 July 2024 (UTC)
{{cvt|0.122|km/km2|mi/sqmi|3}}
to display as 0.122 km/km2 (0.196 mi/sq mi)approximately 1.09 summits per 100 km2that I've just left as I can't work out anything sensible (I don't think 0.0109/km2 (0.028/sq mi) is particularly useful). Thryduulf ( talk) 17:36, 19 July 2024 (UTC)
{{cvt|122|mi|km0|abbr=values|disp=preunit|km/1000 km<sup>2</sup>|mile/1000 sq mile}}
displays as 122 km/1000 km2 (196 mile/1000 sq mile)
Frequently asked questions
|
![]() |
Template:Convert is permanently
protected from editing because it is a
heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by
consensus, editors may use {{
edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's
documentation to add usage notes or
categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
|
|||
This page has archives. Sections older than 42 days may be automatically archived by Lowercase sigmabot III when more than 2 sections are present. |
Related pages |
---|
Hello there, I want to convert the thrust of the engine to the article Kuznetsov NK-32 from kgf to kN and lbf but how do I do that? Vitaium ( talk) 11:39, 1 June 2024 (UTC)
In the third table at Danube#Discharge I can't figure out why the final columns are displaying differently to all the others with exactly the same markup (extract below).
markup
|
---|
{| class="wikitable" style="text-align:center;" !rowspan=2|Period ([[Common Era|CE]]) !rowspan=2|Scenario !colspan=2|P !colspan=2|T !colspan=2|Q !colspan=2|S |- !mm !in !°C !°F !m<sup>3</sup>/s !cu ft/s !10<sup>6</sup> metric tons !10<sup>6</sup> short tons |- |1530–1540 |Cool/wet |{{convert|794|mm|in|disp=table|sortable=on}} |{{convert|9.0|C|F|disp=table|sortable=on}} |{{convert|6,207|m3/s|cuft/s|disp=table|sortable=on}} |{{convert|72.9|e6t|e6ST|disp=table|sortable=on}} |- |1650–1660 |Cool/dry |{{convert|885|mm|in|disp=table|sortable=on}} |{{convert|8.4|C|F|disp=table|sortable=on}} |{{convert|7,929|m3/s|cuft/s|disp=table|sortable=on}} |{{convert|67.3|e6t|e6ST|disp=table|sortable=on|abbr=values}} |} |
Period ( CE) | Scenario | P | T | Q | S | ||||
---|---|---|---|---|---|---|---|---|---|
mm | in | °C | °F | m3/s | cu ft/s | 106 metric tons | 106 short tons | ||
1530–1540 | Cool/wet | 794 | 31.3 | 9.0 | 48.2 | 6,207 | 219,200 | 72.9 million | 80.4×10 6 |
1650–1660 | Cool/dry | 885 | 34.8 | 8.4 | 47.1 | 7,929 | 280,000 | 67.3 million | 74.2×10 6 |
As you can see, adding "abbr=values" makes no difference at all. I want the displayed values to be 72.9 and 80.4 Thryduulf ( talk) 16:44, 10 June 2024 (UTC)
e6t
) comes from the default of the input not being abbreviated. However, the output (e6ST
) is abbreviated and that gives the ugly exponent. The option to override that is abbr=unit
which gives both input and output unit symbols but preserves multiples such as million. Demo:
{{convert|67.3|e6t|e6ST}}
→ 67.3 million tonnes (74.2×10 6 short tons){{convert|67.3|e6t|e6ST|abbr=unit}}
→ 67.3 million t (74.2 million short tons)disp=table
needs abbr=values
to show the numbers only (abbr=values
is the default for disp=table
). I can't think of a workaround at the moment. In a few days I'll sit down and work out what's going on and might come up with a solution.
Johnuniq (
talk)
23:50, 10 June 2024 (UTC){{convert|72.9|t|ST|disp=table|sortable=on}}
giving:Period ( CE) | Scenario | P | T | Q | S | ||||
---|---|---|---|---|---|---|---|---|---|
mm | in | °C | °F | m3/s | cu ft/s | 106 metric tons | 106 short tons | ||
1530–1540 | Cool/wet | 794 | 31.3 | 9.0 | 48.2 | 6,207 | 219,200 | 72.9 | 80.4 |
1650–1660 | Cool/dry | 885 | 34.8 | 8.4 | 47.1 | 7,929 | 280,000 | 67.3 | 74.2 |
Stepho talk 00:02, 11 June 2024 (UTC)
I just came across the need to convert "between 500 million and 1 billion pounds." Is there an elegant way to do this, or am I stuck with "0.5 billion" or "1000 million"? See Hydrogen cyanide#Production and synthesis. ~ฅ(ↀωↀ=) neko-chan nyan 21:38, 17 June 2024 (UTC)
between 500 million and 1 billion pounds (between 230,000 and 450,000 t)". Convert can't handle that kind of operation. You would have to muck around with:
{{convert|500|e6lb|t|disp=number}}
→ 230,000{{convert|1|e9lb|t|disp=out}}
→ 450,000 tWhy are there no conversions for units of angular measurement?
Degrees (deg), radians (rad), milliradians (mrad), mils (mil—which exist in NATO, Soviet, and Polish streck variants), gradians/gons (grad/gon), grade/slope (%), gradient (run for every 1 unit of rise), ratio (rise/run), turns (tr/pla), (compass) points/winds (pt/wind), arcminutes/minutes of arc/minutes of angle (arcmin/'/moa), arcseconds (arcsec/"), hour angles, binary radians/binary degrees (brad), quadrants, sextants, octants are just a few of the common ones that should be included, and there are several other historical and parochial units of angular measurement as well.
Hermes Thrice Great ( talk) 05:38, 2 July 2024 (UTC)
At Transport in Switzerland#Railways I've found a need to convert 122 km/1000 km2 into imperial (probably something like miles per 100 or 1000 sqmi). Is this something convert can handled? In the article I've gone with separate conversions to come up with 76 mi per 390 sq mi which is not ideal. Thryduulf ( talk) 16:58, 19 July 2024 (UTC)
{{cvt|0.122|km/km2|mi/sqmi|3}}
to display as 0.122 km/km2 (0.196 mi/sq mi)approximately 1.09 summits per 100 km2that I've just left as I can't work out anything sensible (I don't think 0.0109/km2 (0.028/sq mi) is particularly useful). Thryduulf ( talk) 17:36, 19 July 2024 (UTC)
{{cvt|122|mi|km0|abbr=values|disp=preunit|km/1000 km<sup>2</sup>|mile/1000 sq mile}}
displays as 122 km/1000 km2 (196 mile/1000 sq mile)