XIV

Source 📝

Related pages
... in conception
... and in reality

Converting to more than 1 unit

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)

@Vitaium: Per Template:Convert#Into multiple units: 10 °C (50 °F; 283 K), you would use 14,000 kilograms-force (140 kN; 31,000 lbf). --Redrose64 🌹 (talk) 13:05, 1 June 2024 (UTC)

e6t in a table

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="db-d2lraXRhYmxl"
 !rowspan=2|Period (※])
 !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 m/s cu ft/s 10 metric tons 10 short tons
1530–1540 Cool/wet 794 31.3 9.0 48.2 6,207 219,200 72.9 million 80.4×10^
1650–1660 Cool/dry 885 34.8 8.4 47.1 7,929 280,000 67.3 million 74.2×10^

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)

It's been too long since I've thought about Module:Convert for me to have a definitive answer without significant thought and I won't have time for that until the weekend. The key problem is that the million for the input unit (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^ short tons)
  • {{convert|67.3|e6t|e6ST|abbr=unit}} → 67.3 million t (74.2 million short tons)
Problem: 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)
The heading says million for the output, so shouldn't the input be divided by a million too?
ie {{convert|72.9|t|ST|disp=table|sortable=on}} giving:
Period (CE) Scenario P T Q S
mm in °C °F m/s cu ft/s 10 metric tons 10 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)

Good point! Johnuniq (talk) 00:43, 11 June 2024 (UTC)
Thank you! I've updated the table in the article. Thryduulf (talk) 08:45, 11 June 2024 (UTC)
Is there a reason to use the odd term "metric ton" rather than the correct tonne? 𝕁𝕄𝔽 (talk) 10:02, 11 June 2024 (UTC)
The article is written in American English and the correct term in that variety is "metric ton", e.g.
{{convert|72.9|ST|spell=us|abbr=off}} → 72.9 short tons (66.1 metric tons) Thryduulf (talk) 10:38, 11 June 2024 (UTC)

Different orders of magnitude in a range?

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 21:38, 17 June 2024 (UTC)

The article currently has plain text: "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 t
Johnuniq (talk) 23:26, 17 June 2024 (UTC)

Angular Units

Why 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)

For the record, here are previous discussions. It's not clear to me what useful conversions would actually be needed.
Johnuniq (talk) 05:58, 2 July 2024 (UTC)

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.