Jump to content

Template talk:Convert

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Help talk:Convert)

... in conception
... and in reality

US Teaspoons[edit]

Is it possible to convert the US volumetric unit of Teaspoon (defined as 5 mL) using this template? I couldn't find it listed. Thank you! Scientific29 (talk) 22:52, 3 May 2024 (UTC)[reply]

Looking up references from the [[teaspoon] article, the US standard is "For nutrition labeling purposes, a teaspoon means 5 milliliters (mL)". https://www.govinfo.gov/content/pkg/CFR-2004-title21-vol2/xml/CFR-2004-title21-vol2-sec101-9.xml
The Australian standard is also 5 mL https://www.saiglobal.com/PDFTemp/Previews/OSH/As/as1000/1300/1325.PDF
Bouncing around the web seems to agree that the metric teaspoon is 5 mL.
However, the teaspoon reference 3 https://web.archive.org/web/20201111220418/https://www.nhs.uk/news/pregnancy-and-child/spoons-give-wrong-medicine-doses/ says "These varied in size, with the smallest holding 2.5ml of liquid and the largest holding 7.3ml. A standard dosing teaspoon holds 5ml." Note the qualifier "dosing".
From this, the official size may be 5 mL in many parts of the world, but everyday experience shows that a teaspoon found in your kitchen may vary wildly. I would be very wary of converting teaspoons to any other scale unless I knew what teaspoon was being used. We went through a similar talk a few years ago about converting cups.  Stepho  talk  00:04, 4 May 2024 (UTC)[reply]
It's a long time since this was discussed, see Template talk:Convert/Archive December 2016#Teaspoons. The definition of a teaspoon is vague and has varied over time and place so it might not be suitable for a template which would encourage editors to believe that a standard existed. Johnuniq (talk) 02:07, 4 May 2024 (UTC)[reply]
My biggest teaspoon holds 6 ml, I bought it because I had a coffee mug holding 15 imperial fluid ounces (430 ml; 14 US fl oz), 50% larger than the others that I have. My grandmother had some teaspoons which very like this one, they were tiny, perhaps only 2 ml, 3 ml tops. My mother has a canteen of cutlery containing sufficient for eight place settings. There are sixteen teaspoons of two different sizes - and although I've not measured them, the larger one looks smaller than a dosing spoon (of which we have several, all marked "5 ml"), so it might hold between 4 and 5 ml. --Redrose64 🌹 (talk) 10:03, 4 May 2024 (UTC)[reply]
Your grandmother would be mortified at how her money spent on sending you to finishing school was wasted! That is not a tea-spoon, that is an egg spoon! --𝕁𝕄𝔽 (talk) 15:50, 4 May 2024 (UTC)[reply]
Close, but no cigar. Martinevans123 (talk) 15:54, 4 May 2024 (UTC)[reply]
Pharmacies recommend using measuring teaspoons, not ordinary eating teaspoons, for doses. Otherwise, 3tsp is supposed to be 1tbsp, and 2tbsp is supposed to be 1 fl.oz. That makes 1 tsp slightly less than 5ml. 1 cup is about 236 ml, so about 4.92 ml/tsp. For most uses, that should be close enough. Gah4 (talk) 17:27, 4 May 2024 (UTC)[reply]
For the record, many countries have 3 teaspoons = 1 tablespoon (15 mL) but Australia has 4 teaspoons = 1 tablespoon (20 mL). Lesson: teaspoons (and tablespoons) are not good for measuring.  Stepho  talk  23:18, 4 May 2024 (UTC)[reply]

Cubic kilometers[edit]

Error in convert: Unit name "cukm" is not known. Why not? I recognise that few editors have ever needed to use such a unit [archives only record a passing reference in 2008] but the magma output from a good volcano is measured thus. Such as Phlegraean Fields, which is where I tried to use it. It seems like it should be an easy one to add? 𝕁𝕄𝔽 (talk) 23:34, 21 May 2024 (UTC)[reply]

@JMF: {{convert|1|km3}} → 1 cubic kilometre (0.24 cu mi) works. Imzadi 1979  23:58, 21 May 2024 (UTC)[reply]
For that article, you might want: {{convert|1000|km3|abbr=off|sp=us}} → 1,000 cubic kilometers (240 cubic miles) Johnuniq (talk) 01:23, 22 May 2024 (UTC)[reply]
Thank you both. I had persuaded myself that we have CUxx for everything else so obviously it is an inadvertent omission. We don't and it isn't. My apologies for the timewasting question. --𝕁𝕄𝔽 (talk) 09:23, 22 May 2024 (UTC)[reply]
But for background, it was this (valid) existing use in the article that persuaded me: {{convert|500|km3|cumi|sigfig=2|abbr=on}} [500 km3 (120 cu mi)] so it wasn't entirely frivolous. --𝕁𝕄𝔽 (talk) 09:29, 22 May 2024 (UTC)[reply]
The "cubic" name goes with imperial units such as cumi and cuft. The SI ones use 2 or 3 such as m2 or m3 and their multiples such as km2 or km3. Johnuniq (talk) 09:42, 22 May 2024 (UTC)[reply]
Cubic centimetre. --Redrose64 🌹 (talk) 20:53, 22 May 2024 (UTC)[reply]

Units of acceleration[edit]

Hello. I was wondering if this template can convert units of acceleration? I didn't see it documented so I'm not sure what perimeters to use. What's of particular interest is the conversion between m/s2 and g0, for use on planet and minor planet articles. Thank you. Praemonitus (talk) 14:53, 22 May 2024 (UTC)[reply]

If you pass the parameters "m/s2" and "g0" for the units it should work. Nickps (talk) 15:10, 22 May 2024 (UTC)[reply]
Thanks! Praemonitus (talk) 22:04, 22 May 2024 (UTC)[reply]
The full list of units includes acceleration: Module:Convert/documentation/conversion_data#Acceleration. Johnuniq (talk) 06:50, 23 May 2024 (UTC)[reply]

Converting to more than 1 unit[edit]

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)[reply]

@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)[reply]

e6t in a table[edit]

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)[reply]

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^6 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)[reply]
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 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)[reply]

Good point! Johnuniq (talk) 00:43, 11 June 2024 (UTC)[reply]