Jump to content

Template talk:Convert/Archive August 2009

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


Dual pressure

Combine 160 pounds per square inch (11 bar) and 160 pounds per square inch (1,100 kPa) as 160 pounds per square inch (11 bar; 1,100 kPa) etc. Peter Horn User talk 01:46, 14 July 2009 (UTC)

It's doable. Personally, I'd rather convert to kPa only and forget about the bar but if you think it useful {{Convert/bar kPa}} could be made easily enough. JIMp talk·cont 06:04, 14 July 2009 (UTC)
In the infobox of Edward M. Cotter (fireboat) I had to resort to 160 psi (11 bar) or (160 psi (1,100 kPa)*). Originally it read 160 psi (11 bar). Peter Horn User talk 01:18, 25 July 2009 (UTC)
I don't know why we don't just forget the bar altogether "160 psi (1,100 kPa)" seems fine to me. Now if we wanted kPa with mmHg/atm/inHg, that'll make sense but bars and kilopascals are only a couple of decimal points away from each other. Anyhow, that's just my idea & I'm sure I don't speak for the whole encyclopædia. Nobody else had put forth an opinion so ... JIMp talk·cont 05:57, 25 July 2009 (UTC)

Note: the combinations inHg psi, Torr psi and kPa Torr have also been recently added. JIMp talk·cont 18:56, 5 August 2009 (UTC)

Missing unit: GPa

Pa, kPa and MPa are all there. But GPa is quite often used in engineering and physics, so would be nice and logical as well. And it is already used by at least one page, where it of course fails: Water_(properties).
The factor should of course be 1,000,000,000. But I haven't got the faintest idea how to add this unit. I hope that it is just a simple matter by someone skilled in the art. Thanks Tøpholm (talk) 22:32, 4 August 2009 (UTC)

Done. JIMp talk·cont 22:34, 4 August 2009 (UTC)
Thanks! In just 2 minutes... Thats impressive!
I just updated the documentation page: Template:Convert/list_of_units/extra. Hope I did it right. Tøpholm (talk) 23:32, 4 August 2009 (UTC)
Jimp is the master! Always does a good job. Just a compliment. SimonTrew (talk) 10:54, 5 August 2009 (UTC)

Undocumented temperature interval support

I had to dig into the talk archives to determine that temperature intervals are supported (e.g. {{convert|60|F-change|C-change}} produces 60 °F (33 °C), while {{convert|60|F|C}} produces 60 °F (16 °C)); could someone document their existence? Thanks. 67.100.126.3 (talk) 01:25, 5 August 2009 (UTC).

I dont understand what you mean by interval there? You mean fractions of a degree? 60 °F (15.56 °C) seems to work.
By the way do we support Réaumur? 0 = freezing and 80 = boiling (of water)? SimonTrew (talk) 11:00, 5 August 2009 (UTC)
The IP is correct, by the way you don't need the second "-change", what they are trying to do is something like;
"−10 °F (−23 °C) to 50 °F (10 °C), is a difference of 60 °F (33 °C)." ({{convert|-10|F}} to {{convert|50|F}}, is a difference of {{convert|60|F-change}}.)
rather than
"−10 °F (−23 °C) to 50 °F (10 °C), is a difference of 60 °F (16 °C)." ({{convert|-10|F}} to {{convert|50|F}}, is a difference of {{convert|60}}.) Enter CambridgeBayWeather, waits for audience applause, not a sausage 14:27, 5 August 2009 (UTC)
For example,
It takes {{convert|1|kcal}} to raise the temperature of {{convert|1|kg}} of water {{convert|1|C-change}}.
→ "It takes 1 kilocalorie (4.2 kJ) to raise the temperature of 1 kilogram (2.2 lb) of water 1 °C (1.8 °F)."
Note that when Cambridge Bay Weather says "you don't need the second '-change'" he means you don't need the second "C-change" or "F-change". {{convert|1|C-change|F}} won't give you anything sensible.
No, there is currently support for only the Kelvin, Celsius, Rankine & Foreignheight scales. Is the Réaumur scale used on any article? JIMp talk·cont 18:52, 5 August 2009 (UTC)
I have never seen an article that uses Réamur. But that is slightly arguing back to front: If we had one somene might use it. That being said it would be useless as a default conversion. But since it is just four fifths of Celcius I wondered if it was easy to add but if not, then not worth the bother I agree (if that is what you are implying). The likeliest place to look, I would imagine, are topics on the Napoleonic Wars. (Not suggesting you look, you are busy enough, but just hazarding a guess). I just checked my (rather old) copy of The French Revolution by Carlyle but it does not have an index, so I couldn't make a quick answer without reading it all again (and, for me, it is bloody boring). Probably best left aside. SimonTrew (talk) 21:20, 5 August 2009 (UTC)
You do have a point that if it did exist, then someone might use it. Of course, we don't need conversions to degrees Réamur. I'll have a quick search but I'd imagine that even Napoleonic Wars article sources would use Celsius or Fahrenheit. JIMp talk·cont 22:29, 5 August 2009 (UTC)
I found one mention: French invasion of Russia (nothing to convert here though). JIMp talk·cont 22:35, 5 August 2009 (UTC)

Volume conversion l × w × h

This matter was moved to Template talk:Convert/Archive July 2009#Volume conversion l × w × h without ever having been resolved. Not very helpful. Peter Horn User talk 01:00, 25 July 2009 (UTC)

No, it's not. The page is archived by a bot which can't tell what's been resolved or not. It's no simple matter to resolve but it's not forgotten. JIMp talk·cont 09:19, 27 July 2009 (UTC)
Useful for intermodal container. Peter Horn User talk 21:11, 7 August 2009 (UTC)

spelling out the lk parameter

I think that using "lk" as a parameter name is a bit too much abbreviation. Can this be changed so that the parameter name is fully spelled out ("link")? "lk" is not really an obvious abbreviation for "link" anyway. At just 4 letters, the need to abbreviate "link" is basically non-existent as well.
V = I * R (talk) 06:35, 7 August 2009 (UTC)

I never had a problem with "lk" as an abbeviation for "link", to me it is a nonissue. Peter Horn User talk 15:07, 7 August 2009 (UTC)
It could be but I'm not sure that it would give any advantage. In the vast majority of cases linking is unnecessary. If anything we should probably be discouraging linking (of common units) per WP:OVERLINK. JIMp talk·cont 19:08, 7 August 2009 (UTC)
The solution to the overlink issue seems to simply be intentionally not defining the parameter when used with certain (ie.: those considered to be Common) parameters.
Regardless, that's a whole separate issue. The only reason why I started this was due to the fact that I had to really search around before figuring out that "lk" stood for "link". Regardless of the appropriateness of the parameters usage in specific instances, the parameters usability is severly compromised by the current oddly abbreviated parameter name. If the consensus is that Overlink is an overriding concern here, then the solution should be to remove the parameter completely.
V = I * R (talk) 19:55, 7 August 2009 (UTC)
Sometimes links are appropriate. If you had to search, then perhaps we need to rewrite the doc page. JIMp talk·cont 20:00, 7 August 2009 (UTC)
Why not have both "lk=on" & "link=on" to keep everybody happy? Links are relevant and useful in the case of unfamiliar or obscure units. Peter Horn User talk 21:24, 7 August 2009 (UTC)
If we have link at all, we should still keep both since too large a number of instances use that to go switching over. Then we'd have two options for producing links. Would this make the template easier to use? I wonder whether the use of this template isn't enough to get your head around without adding another option which brings with it no increase in functionality. Of course, we'd mention both on the doc page, increasing the clutter. It would also mean more code making it slightly harder to figure out and maybe slightly less trim with respect to template limitations. I'm just not convinced it's worth it. JIMp talk·cont 21:43, 7 August 2009 (UTC)
Actually "lk" is just fine. "lk=on", "lk=in" and "lk=out". What is quite handy is that the letters "l" and "k" are right next to each other on the keyboard. Peter Horn User talk 01:53, 8 August 2009 (UTC)

Parameter "or"

in Wagonway#Edgeway, edge rails I had to resort to 15 lb (6.8 kg) or 17 lb (7.7 kg) as well as 12 ft (3.66 m) or 15 ft (4.57 m) instead of being able to use 15 or 17 lb (6.8 or 7.7 kg) and 12 or 15 ft (3.66 or 4.57 m). Can some one do this, or teach me how to? Peter Horn User talk 15:04, 7 August 2009 (UTC)

It should be working now. If you have any problems, please say so. JIMp talk·cont 19:21, 7 August 2009 (UTC)
And work it does, thanks. Could you do the same for "and"? Peter Horn User talk 21:07, 7 August 2009 (UTC)
No, I couldn't ... since and is already done. JIMp talk·cont 21:44, 7 August 2009 (UTC)
Thanks, I'll keep that in mind. Peter Horn User talk 01:48, 8 August 2009 (UTC)

Minor discrepency or small bug

Minor discrepency or small bug? In Wagonway#The first iron rails, compare 3 by 3.75 in (76.2 by 95.3 mm)* & 3.75 inches (95.3 mm). There is a small difference of 0.1 mm! Peter Horn User talk 21:18, 7 August 2009 (UTC)

Exactly 3.75 in is exactly 95.25 mm so it should have been rounded up to 95.3 mm not down to 95.2 mm. That's strange. JIMp talk·cont 21:31, 7 August 2009 (UTC)
Unless bankers' rounding is used. Both rounding up and rounding down is correct when the value is exactly half-way, but it should be consistent for any given number. --A. di M. 13:31, 9 August 2009 (UTC)

Here we go again: 3 by 3.75 in (76.20 by 95.25 mm)* & 3.75 inches (95.25 mm). So as to get consistent results, one would either have to go to two decimal places or tweak one of the two conversions (templates). Peter Horn User talk 22:52, 9 August 2009 (UTC)

Why no common fractions

Rail profile#LR55 rail, 300 mm (11.8 in). Why not a common fractions, unlike say 12.25 or 311 gauge? Or would that be just too complicated? Peter Horn User talk 00:02, 9 August 2009 (UTC)

12+14 inches (311 mm) is possible but converting to a fraction is not possible at the momment. JIMp talk·cont 14:55, 9 August 2009 (UTC)

Bug in display of unconverted number

It looks to me as if the code that adds commas into the numbers is buggy. It seems to confuse the number of trailing zeros with the number of trailing zeros after the decimal point:

{{convert|4.70000|mi2|km2}}
4.70000 square miles (12.1729 km2)
{{convert|47.0000|mi2|km2}}
47.0000 square miles (121.729 km2)
{{convert|470.0000|mi2|km2}}
470.0000 square miles (1,217.294 km2)
{{convert|4700.0000|mi2|km2}}
4,700.0000 square miles (12,172.944 km2)
{{convert|4.7000|mi2|km2}}
4.7000 square miles (12.173 km2)
{{convert|47.000|mi2|km2}}
47.000 square miles (121.73 km2)
{{convert|470.000|mi2|km2}}
470.000 square miles (1,217.29 km2)
{{convert|4700.000|mi2|km2}}
4,700.000 square miles (12,172.94 km2)
{{convert|4.700|mi2|km2}}
4.700 square miles (12.17 km2)
{{convert|47.00|mi2|km2}}
47.00 square miles (121.7 km2)
{{convert|470.00|mi2|km2}}
470.00 square miles (1,217.3 km2)
{{convert|4700.00|mi2|km2}}
4,700.00 square miles (12,172.9 km2)
{{convert|4.70|mi2|km2}}
4.70 square miles (12.2 km2)
{{convert|47.0|mi2|km2}}
47.0 square miles (122 km2)
{{convert|470.0|mi2|km2}}
470.0 square miles (1,217 km2)
{{convert|4700.0|mi2|km2}}
4,700.0 square miles (12,173 km2)
{{convert|4.7|mi2|km2}}
4.7 square miles (12 km2)
{{convert|47|mi2|km2}}
47 square miles (120 km2)
{{convert|470|mi2|km2}}
470 square miles (1,200 km2)
{{convert|4700|mi2|km2}}
4,700 square miles (12,000 km2)

All table cells in red are examples of the bug. It cuts off one trailing zero of the unconverted number in the third column and two in the fourth.

I found this when explaining at Wikipedia talk:Manual of Style (dates and numbers)#Anomalies in the template for converting measurements. why an unrelated problem can't be avoided. Hans Adler 09:43, 9 August 2009 (UTC)

The bug is somewhere in {{convert/numdisp}} (including the other subtemplates it calls). JIMp talk·cont 11:19, 9 August 2009 (UTC)

{{editprotected}} I think that the problem should be solved if we use the following new code on {{convert/numdisp/a}}.

Template:Convert/numdisp/a (edit | talk | history | links | watch | logs)

{{#if:{{{2|}}}|{{Convert/numdisp/frac|{{{1}}}|{{#expr:{{{1}}}*0}}|{{#expr:0*{{{1}}}}}|{{{2}}}}}|{{formatnum:{{{1}}}}}}}<noinclude>[[Category:Subtemplates of Template Convert]]</noinclude>

JIMp talk·cont 15:14, 9 August 2009 (UTC)

Thanks. I have no idea what this code does, and the thought that, as the template above says "an editor unfamiliar with the subject matter could complete the requested edit immediately" seems a bit scary in this case. Let's hope everythings goes well. Hans Adler 15:34, 9 August 2009 (UTC)
Here's basically what it does:
  • {{convert/numdisp}} separates the input into a part before the "/" and the part after and sends them to {{convert/numdisp/a}} as {{{1}}} and {{{2}}} respectively.
  • The {{#if:}} in {{convert/numdisp/a}} checks whether the input is a fraction (if there is no "/" then {{{2}}} is empty)
  • If the input is fractional then data is sent to {{convert/numdisp/frac}} which displays the fraction (this part is functioning normally so need not be changed).
  • If the input is fractional it will just get formatted with {{formatnum:}} this is a simplification of the code. Something is going wrong with the current calls on {{rnd}} and {{precision/+}} but they shouldn't be necessary.
JIMp talk·cont 16:01, 9 August 2009 (UTC)
Requested edit has been performed. If there are any problems seen, leave a note on my talk page immediately so I can reverse. Huntster (t@c) 23:29, 9 August 2009 (UTC)

The bug seems to be gone. JIMp talk·cont 23:32, 9 August 2009 (UTC)

The bug is in {{precision}}.

Template:Precision (edit | talk | history | links | watch | logs)

Taking the above table & replacing the {{convert|...|mi2|km2}} with {{precision|..}} gives the following.

{{precision|4.70000}}
5
{{precision|47.0000}}
4
{{precision|470.0000}}
4
{{precision|4700.0000}}
4
{{precision|4.7000}}
4
{{precision|47.000}}
3
{{precision|470.000}}
3
{{precision|4700.000}}
3
{{precision|4.700}}
3
{{precision|47.00}}
2
{{precision|470.00}}
2
{{precision|4700.00}}
2
{{precision|4.70}}
2
{{precision|47.0}}
1
{{precision|470.0}}
1
{{precision|4700.0}}
1
{{precision|4.7}}
1
{{precision|47}}
0
{{precision|470}}
-1
{{precision|4700}}
-2

JIMp talk·cont 23:55, 9 August 2009 (UTC)

I've rewritten the code for {{precision}}. It fixes the bug. It's on the talk page. JIMp talk·cont 00:19, 10 August 2009 (UTC)

With the new Precision code installed, looks like the above problems have been resolved. Huntster (t@c) 01:09, 10 August 2009 (UTC)

New rounding template codes

The template can begin to take advantage of the improvements to {{precision}}. This will mean new code for the rounding subtemplates. First let's start with {{convert/round}}.

Template:Convert/round (edit | talk | history | links | watch | logs)

Its new code is

{{#ifexpr:{{{2}}}=0|0|{{formatnum:{{rnd|{{{2}}}|({{max/2|{{#expr:({{precision|1{{{1}}}}}+{{{5}}}-0.5+(ln2/ln10))round0}}|{{#expr:1-{{ordomag|{{{2}}}}}}}}})}}}}}}<noinclude>
[[Category:Subtemplates of Template Convert]]{{pp-template|small=yes}}
</noinclude>

JIMp talk·cont 02:10, 10 August 2009 (UTC)

 Done Huntster (t@c) 08:02, 10 August 2009 (UTC)
Great! It seems to be working okay.
  • {{convert|11+1/2|in}} → "11+12 inches (290 mm)"
There are more, though. I'll have to make a list of the templates which need adjusting. JIMp talk·cont 09:02, 10 August 2009 (UTC)
Certainly. Make the list, compile everything I need, and shoot a message to my talk page. Signing off for the night. Huntster (t@c) 09:50, 10 August 2009 (UTC)

Problem with fractions

I have found that

{{convert|14+3/4|in|cm|abbr=on}}   gives   14+34 in (37 cm)

i.e. there are far more decimal places than I would normally expect. Can the default number of decimal places (or significant figures) be made more reasonable when converting from fractions? Gaius Cornelius (talk) 06:44, 15 July 2009 (UTC)

Not yet.
{{convert|14+3/4|in|cm|0|abbr=on}}    giving    14+34 in (37 cm)
or
{{convert|14+3/4|in|cm|sigfig=2|abbr=on}}   giving    14+34 in (37 cm)
is about your only option right now. The autorounding doesn't yet deal with fractions. It'll be a while before it does. JIMp talk·cont 07:28, 15 July 2009 (UTC)
Also
{{convert|14+3/4|in|cm|sigfig=3|abbr=on}}    giving   14+34 in (37.5 cm)
{{convert|14+3/4|in|cm|sigfig=4|abbr=on}}    giving   14+34 in (37.46 cm)
{{convert|14+3/4|in|cm|1|abbr=on}}    giving   14+34 in (37.5 cm)
{{convert|14+3/4|in|cm|2|abbr=on}}    giving   14+34 in (37.47 cm). Peter Horn User talk 02:14, 25 July 2009 (UTC)
Redone Peter Horn User talk 02:31, 25 July 2009 (UTC)

It's working. Autorounding with fractional input is working for most units.

*{{convert|14+3/4|in|cm|abbr=on}}
*{{convert|14+3/8|in|cm|abbr=on}}
*{{convert|14+3/12|in|cm|abbr=on}}
*{{convert|14+3/13|in|cm|abbr=on}}
*{{convert|14+3/14|in|cm|abbr=on}}
*{{convert|14+3/16|in|cm|abbr=on}}
*{{convert|14+3/32|in|cm|abbr=on}}
*{{convert|14+3/64|in|cm|abbr=on}}
*{{convert|14+3/128|in|cm|abbr=on}}
*{{convert|14+3/256|in|cm|abbr=on}}
  • 14+34 in (37 cm)
  • 14+38 in (37 cm)
  • 14+312 in (36 cm)
  • 14+313 in (36.1 cm)
  • 14+314 in (36.1 cm)
  • 14+316 in (36.0 cm)
  • 14+332 in (35.8 cm)
  • 14+364 in (35.7 cm)
  • 14+3128 in (35.62 cm)
  • 14+3256 in (35.59 cm)

JIMp talk·cont 13:45, 11 August 2009 (UTC)

US liquid barrels

Something is going wrong with the following two barrel conversions:

  • 75,000 US barrels (8,900,000 L; 2,400,000 US gal; 2,000,000 imp gal)
  • 75,000 US beer barrels (8,800,000 L; 2,300,000 US gal; 1,900,000 imp gal)

The output values should all be in the millions not in the thousands (the other barrels I tried worked correctly). —MJBurrage(TC) 18:44, 21 July 2009 (UTC)

{{edit protected}}

The problem is Template:Convert/l usgal impgal (edit | talk | history | links | watch | logs)
Somehow this subtemplate escaped the change over to cubic metres as the basis for volumes on the template.
Here's the correct code for the subtemplate.
{{convert/multi3{{{d}}}|{{convert/{{{d}}}|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}
|u=l
|n=lit{{{r}}}
|t=litre
|b=0.001
|j=-3-{{{j}}}}}|{{convert/{{{d}}}US{{{r}}}|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}
|u=gal
|n=gallon
|b=0.003785411784
|j=-2.42188687024804-{{{j}}}}}|{{convert/{{{d}}}Imp|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}
|u=gal
|n=gallon
|b=0.00454609
|j=-2.34236197069717-{{{j}}}}}}}<noinclude>
[[Category:Subtemplates of Template Convert]]
</noinclude>

JIMp talk·cont 23:00, 21 July 2009 (UTC)

Done. --- RockMFR 23:09, 22 July 2009 (UTC)

Note, before the fix the convert statements above produced

  • 75,000 US barrels (8,900 l; 2,400 US gal; 2,000 imp gal)
  • 75,000 US beer barrels (8,800 l; 2,300 US gal; 1,900 imp gal)

instead of

  • 75,000 US barrels (8,900,000 l; 2,400,000 US gal; 2,000,000 imp gal)
  • 75,000 US beer barrels (8,800,000 l; 2,300,000 US gal; 1,900,000 imp gal)

Thanks for the fix. Plastikspork (talk) 23:14, 22 July 2009 (UTC)

Not sure this is the right place, but I get errors when I try to convert litres to gallons. For example, 1,000 litres ([convert: unknown unit]). What is the correct way to do this? Lfstevens (talk) 23:34, 10 August 2009 (UTC)

Try it without the space.
{{convert|1000|l|usgal}} → "1,000 litres (260 US gal)"
JIMp talk·cont 13:26, 11 August 2009 (UTC)

kg/cm2

Can I get a conversion for kg per square centimeter, please? I'd like to be able to convert from that to pounds per square inch when dealing with steam pressure in warship engines and AFV ground pressure. I'm sure that I could do this manually if I understood the metric pressure system better, but it would just be easier if somebody could add this as a regular unit of conversion. Thanks in advance! Sturmvogel 66 (talk) 03:46, 8 August 2009 (UTC)

It already exists. Try using {{convert|100|kg/cm2|psi}}, which produces 100 kilograms per square centimetre (1,400 psi). However, the proper units for pressure in SI are pascals (Pa). Kilograms per square centimetre is a nonstandard metric unit because kilograms are a unit of mass, not a unit of force. RockyMtnGuy (talk) 05:01, 8 August 2009 (UTC)
Take it a bit further: 100 kg/cm2 (1,400 psi). Peter Horn User talk 23:32, 8 August 2009 (UTC)

Too be more exact, 100 kg/cm2 (1,422 psi) Peter Horn User talk 00:08, 9 August 2009 (UTC)

kPa

Try this: 100 kg/cm2 (9,807 kPa; 1,422 psi), it works! Peter Horn User talk 00:15, 9 August 2009 (UTC) Peter, thanks a bunch. If it's not something that I missed it should be added to the listing of available units. Sturmvogel 66 (talk) 01:46, 12 August 2009 (UTC)

You are so welcome Sturmvogel, I just experimented...and it worked. Peter Horn User talk 02:48, 13 August 2009 (UTC)k

"(Template:Convert/LoffAonDonSoff)"

Please see Saffron#Cultivation:

"saffron-growing regions in Greece (500 mm (20 in)* annually) and Spain (400 mm (16 in)*) are far drier."

Saravask (talk) 10:21, 12 August 2009 (UTC)

I've amended {{convert|…|disp=on}} to {{convert|…|disp=or}} in Saffron#Cultivation. Rare proof that even Jimp is only human and can make typos on rare occasions. Seems he's taking some downtime at the moment. --Qwfp (talk) 12:41, 12 August 2009 (UTC)
That's perfectly understandable. Thanks for your kind help. Regards. Saravask (talk) 23:13, 12 August 2009 (UTC)

pounds per foot to kilograms per meter and vice versa

Theodore Cooper#Coopers Loading System 1,000 pounds per foot (1,488 kg/m) instead of 1,000 pounds (454 kg) per 1 foot (0.305 m) compare to 3,000 pounds per yard (1,488.2 kg/m) Peter Horn User talk 02:38, 13 August 2009 (UTC)

Done JIMp talk·cont 11:06, 13 August 2009 (UTC)

Bug report

Defining an empty parameter lk seems to cause problems. For example:

  • {{convert|2500|km2|mi2|abbr=on|lk=}} produces 2,500 km2 (970 sq mi)

— Martin (MSGJ · talk) 14:47, 30 July 2009 (UTC)

The answer is don't put empty parameters, there is no bug.
Thanks for the reply. But if it can't handle empty paramters then this certainly is a bug. I'll have a look into fixing it when I get a chance. — Martin (MSGJ · talk) 14:46, 14 August 2009 (UTC)

Route miles conversion

London, Brighton and South Coast Railway#Original Routes gives "170 route miles". 170 route miles (274 km) or 170 route miles (274 km), would this be possible? Peter Horn User talk 23:29, 8 August 2009 (UTC)

Nobody has bitten so far. Peter Horn User talk 02:43, 13 August 2009 (UTC)
Vice versa may also be usefull. Peter Horn User talk 15:34, 13 August 2009 (UTC)
Done
{{convert|170|rtmi}} → "170 route miles (270 km)"
{{convert|170|rtkm}} → "170 route kilometres (110 mi)"
JIMp talk·cont 20:26, 13 August 2009 (UTC)
OK I will bite. I see no need in the conversion. These are, in a sense, specialist units that are not really admitting of conversions, e.g. as it is not very useful to convert carats for gemstones into other units of mass, even though conversions exist. UK and Irish railways are measured in route miles from the terminus; European ones in route kilometres. It makes little sense to talk about British railways in route kilometres, as far as I can see. It is a weak argument, I know, but just my two penn'orth. That being said, MOSNUM does recommend all units are converted.... SimonTrew (talk) 15:16, 14 August 2009 (UTC)
Looks like I am too late! Jimp has done it anyway! SimonTrew (talk) 15:17, 14 August 2009 (UTC)

Metres/sec to knots

The METAR article mentions a windspeed in metres per second. In aviation, the knot is the usual unit of measurement. Therefore shouldn't we be able to convert mps to kn, mph and km/h? Mjroots (talk) 07:56, 14 August 2009 (UTC)

You can already do, e.g.:
{{convert|3|m/s|kn}} → 3 metres per second (5.8 kn)
{{convert|3|m/s|mph kn}} → 3 metres per second (6.7 mph; 5.8 kn)
{{convert|3|m/s|km/h mph}} → 3 metres per second (11 km/h; 6.7 mph)
You can't convert m/s to all three of kn, mph and km/h in a single combination, if that's what you mean. I don't think any such triple combinations are supported at present and I'm not sure how useful they'd be. --Qwfp (talk) 08:45, 14 August 2009 (UTC)
Thanks, couldn't find it! I didn't mean to have all three at once. I don't see how that would be useful. Mjroots (talk) 09:08, 14 August 2009 (UTC)
Triple conversions are possible (though few are supported) but, in this case, how about knots & feet per second? JIMp talk·cont 12:55, 14 August 2009 (UTC)
In what field are feet per second used? I have never come across them, perhaps it is a US thing? I remember being told that gravity is (roughly) 32 feet per square second but I can't remember ever seeing feet per second. I am probably missing something obvious here, but even in the US nowadays in scientific fields surely SI is the norm? SimonTrew (talk) 15:03, 14 August 2009 (UTC)

Problem with decimal areas when used in Infobox

There seems to be an odd problem with converting areas when this template is used with Template:Infobox, and decimal area values. Here is an example:

{{Infobox Islands/Sandbox | density = 5.4 }}

where Template:Infobox Islands/Sandbox contains:

{{infobox | label49 = Density | data49 = {{convert|{{{density}}}|PD/km2|PD/sqmi|abbr=on}} }}

gives:

Convert/Archive August 2009

It is fine when the value is an integer, and Template:Convert is also fine with decimals outside other templates. --Ozhiker (talk) 10:50, 14 August 2009 (UTC)

Yup. Something's definitely broken recently regarding this - have a look at the breakage at Kris Boyd for instance. I can imagine this has led to very visible fallout all over the project. Chris Cunningham (not at work) - talk 11:49, 14 August 2009 (UTC)
Got it diff. Thank god for Special:RelatedChanges. —TheDJ (talkcontribs) 12:33, 14 August 2009 (UTC)
Any chance something similar is up with template:infobox artwork/sandbox? This seems to have broken over the last 36 hours or so, though isn't fixed by your revert there. Chris Cunningham (not at work) - talk 15:14, 14 August 2009 (UTC)
Template:infobox artwork/sandbox looks fine to me. Sometimes you need to purge the page in order to update. This can be done either by hitting "purge" (if it exists) or by opening the edit page & saving (if you can). JIMp talk·cont 18:56, 14 August 2009 (UTC)
Nope, still broken. Have a look at the bottom example on the test cases page, which is the only example which currently uses the convert code. Chris Cunningham (not at work) - talk 11:16, 15 August 2009 (UTC)

No need for protection

{{edit protected}} These are not transcluded outside the template. They are used for maintainance. Please unprotect them.

JIMp talk·cont 07:56, 15 August 2009 (UTC)

As the admin protecting these pages I have asked User:fl to attend to this request. — Martin (MSGJ · talk) 07:57, 15 August 2009 (UTC)
 Done. Happy editing! ~fl 02:36, 16 August 2009 (UTC)

Thanks. JIMp talk·cont 05:54, 16 August 2009 (UTC)

CO2 per mile

In Electric Car, which I tend to get a lot of conversions tha are not supported, there are a few for volume of CO2 per mile (i.e. emissions). Is it worthwhile having a conversion template here? I am not sure what would be useful on the source and destination sides of the conversion (apart from obviously km) but I guess cubic inches against litres (liters) or perhaps kilograms? Is it worth it?

That article (which BTW heavily uses the convert template, thank you very much for it!) may be one of the few that uses it, so perhaps not worth justifying its use. Or someone (Jimp probably) will tell me it's already there but I could not find it. Ideally I want x lb per mi (y kg per km). But obviously when there are multiple sensible source and destination units I can see this becoming a combinatorial explosion.

It also uses MPGe i.e. miles per gallonus equivalent, i.e. to try to compare the amount of energy(?) used per mile for gasoline and electric vehicles (which also leads to the interesting subject that if a diesel engine of the same capacity does twice the miles is its MPGe factor two? That seems to be moot). I have not even attempted a conversion here since it seems a very specific unit defined by the US goverment agencies, and so not really appropriate to translate into liters per 100 kilometres equivalent or whatever. Again, any advice wanted, but I would say this should not bother to be converted, and certainly not the bother of writing a template for. SimonTrew (talk) 14:58, 14 August 2009 (UTC)

I just had a look at the article. Yeah, "0.915 lb (0.415 kg) per mile" is no conversion ... it's just useless. Unlike the {{x to y}}-type templates {{convert}} only needs one template per unit (normally) so things won't explode. JIMp talk·cont 19:21, 14 August 2009 (UTC)
I've got the following done:
{{convert|88|lb/mi}} → "88 pounds per mile (25 kg/km)"
{{convert|88|kg/km}} → "88 kilograms per kilometre (310 lb/mi)"
{{convert|88|oz/mi}} → "88 ounces per mile (1,550 g/km)"
{{convert|88|g/km}}   → "88 grams per kilometre (5.0 oz/mi)"
{{convert|88|lbCO2/mi}} → "88 pounds of CO2 per mile (25 kg(CO2)/km)"
{{convert|88|kgCO2/km}} → "88 kilograms of CO2 per kilometre (310 lb(CO2)/mi)"
{{convert|88|ozCO2/mi}} → "88 ounces of CO2 per mile (1,550 g(CO2)/km)"
{{convert|88|gCO2/km}}   → "88 grams of CO2 per kilometre (5.0 oz(CO2)/mi)"
... but do we want "88 pounds of CO
2
per mile (25 kg/km)" or "88 pounds of CO
2
per mile (25 kg(CO
2
)/km)"?
Is volume per distance also used?
MPGe is really an energy-per-distance unit so it should be converted to joules per metre or something. I've seen some fancy attempts to convert this to litres of petrol equivalent per hundred kilometres and other such stuff but I'm not quite sure this is valid. JIMp talk·cont
JIMp talk·cont 20:15, 14 August 2009 (UTC)
Thanks Jimp.
In the Electric car article volume per distance is not used, but really since e.g. gallons per mile and litres per kilometres are of course volume per distance I suppose gallons of CO
2
per mile etc also follow that, just happen to have a different unit name-- and if we're not careful could . I guess the thin is w.th m.p.g. the fact that the quantity is gasoline is implied, whereas with CO
2
it is spelt out: one could imagine a whole plethora of it being NO
x
, etc, so this could get a bit silly.
I was wondering if volume should also be provided as well as mass, but I've got no real answer to that one. Do people say e.g. 88 cubic inches of CO
2
per mile etc? I would imagine not, since of course its volume varies enormously, being a gas. But for liquids in other contexts I could see they might. Or did you mean specifically for CO
2
?
I agree the MPGe is not really validly converted to anything else. It is like trying to convert Rohms hardness or gas mark (for UK gas cookers), there is no real meaningful conversion.
I will put those templates to use in Electric Car, if you haven't already. Thanks again. SimonTrew (talk) 08:37, 15 August 2009 (UTC)
I have done some but the article still needs work. The CO
2
is mixed with other gasses but even if we're talking about the volume of CO
2
we would have were it pure, we still have to factor temperature and pressure in. So there's good reason not to talk of the volume of CO
2
produced per unit distance travelled. JIMp talk·cont 10:08, 15 August 2009 (UTC)

Energy per unit distance & distance per unit energy

We're going to want to convert between, right? As with litres per hundred kilometres vs miles per gallon. This'll be fun ... JIMp talk·cont 00:54, 15 August 2009 (UTC)

{{edit protected}}

In order to get this up and running without having to worry about having people try to convert between incompatible units I have some small edits to add to a large number of subtemplates.

subtemplates in question

Template:Convert/LoffAoffDbSoffF (edit | talk | history | links | watch | logs)

Template:Convert/LoffAoffDbSonF (edit | talk | history | links | watch | logs)

Template:Convert/LoffAonDbSoffF (edit | talk | history | links | watch | logs)

Template:Convert/LoffAonDbSonF (edit | talk | history | links | watch | logs)

Template:Convert/LonAoffDbSoffF (edit | talk | history | links | watch | logs)

Template:Convert/LonAoffDbSonF (edit | talk | history | links | watch | logs)

Template:Convert/LonAonDbSoffF (edit | talk | history | links | watch | logs)

Template:Convert/LonAonDbSonF (edit | talk | history | links | watch | logs)

Template:Convert/LinAoffDbSoffF (edit | talk | history | links | watch | logs)

Template:Convert/LinAoffDbSonF (edit | talk | history | links | watch | logs)

Template:Convert/LinAonDbSoffF (edit | talk | history | links | watch | logs)

Template:Convert/LinAonDbSonF (edit | talk | history | links | watch | logs)

Template:Convert/LoutAoffDbSoffF (edit | talk | history | links | watch | logs)

Template:Convert/LoutAoffDbSonF (edit | talk | history | links | watch | logs)

Template:Convert/LoutAonDbSoffF (edit | talk | history | links | watch | logs)

Template:Convert/LoutAonDbSonF (edit | talk | history | links | watch | logs)

Template:Convert/LoffAoffDtableSoffF (edit | talk | history | links | watch | logs)

Template:Convert/LoffAoffDtableSonF (edit | talk | history | links | watch | logs)

Template:Convert/LoffAonDtableSoffF (edit | talk | history | links | watch | logs)

Template:Convert/LoffAonDtableSonF (edit | talk | history | links | watch | logs)

Template:Convert/LonAoffDtableSoffF (edit | talk | history | links | watch | logs)

Template:Convert/LonAoffDtableSonF (edit | talk | history | links | watch | logs)

Template:Convert/LonAonDtableSoffF (edit | talk | history | links | watch | logs)

Template:Convert/LonAonDtableSonF (edit | talk | history | links | watch | logs)

Template:Convert/LinAoffDtableSoffF (edit | talk | history | links | watch | logs)

Template:Convert/LinAoffDtableSonF (edit | talk | history | links | watch | logs)

Template:Convert/LinAonDtableSoffF (edit | talk | history | links | watch | logs)

Template:Convert/LinAonDtableSonF (edit | talk | history | links | watch | logs)

Template:Convert/LoutAoffDtableSoffF (edit | talk | history | links | watch | logs)

Template:Convert/LoutAoffDtableSonF (edit | talk | history | links | watch | logs)

Template:Convert/LoutAonDtableSoffF (edit | talk | history | links | watch | logs)

Template:Convert/LoutAonDtableSonF (edit | talk | history | links | watch | logs)

Template:Convert/LoffAoffDsSoffF (edit | talk | history | links | watch | logs)

Template:Convert/LoffAoffDsSonF (edit | talk | history | links | watch | logs)

Template:Convert/LoffAonDsSoffF (edit | talk | history | links | watch | logs)

Template:Convert/LoffAonDsSonF (edit | talk | history | links | watch | logs)

Template:Convert/LonAoffDsSoffF (edit | talk | history | links | watch | logs)

Template:Convert/LonAoffDsSonF (edit | talk | history | links | watch | logs)

Template:Convert/LonAonDsSoffF (edit | talk | history | links | watch | logs)

Template:Convert/LonAonDsSonF (edit | talk | history | links | watch | logs)

Template:Convert/LinAoffDsSoffF (edit | talk | history | links | watch | logs)

Template:Convert/LinAoffDsSonF (edit | talk | history | links | watch | logs)

Template:Convert/LinAonDsSoffF (edit | talk | history | links | watch | logs)

Template:Convert/LinAonDsSonF (edit | talk | history | links | watch | logs)

Template:Convert/LoutAoffDsSoffF (edit | talk | history | links | watch | logs)

Template:Convert/LoutAoffDsSonF (edit | talk | history | links | watch | logs)

Template:Convert/LoutAonDsSoffF (edit | talk | history | links | watch | logs)

Template:Convert/LoutAonDsSonF (edit | talk | history | links | watch | logs)

Towards the end of each of these there is a |d=something. I'd like to add a |D={{{D}}} next to these ("d" for display & "D" for dimension).

... but that's only half the fun. JIMp talk·cont 00:27, 16 August 2009 (UTC)

The other half involves the following subtemplates.

subtemplates in question
Single units
Double units

The single-unit subtemplates want their {{{d}}} replaced with a {{#ifeq:{{{D|voldist}}}|voldist|{{{d}}}|error}} and they want to have a |D=voldist added to them (voldist for volume-distance).

for example

Template:Convert/km/l (edit | talk | history | links | watch | logs) goes from looking like this

{{convert/{{{d}}}F|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|s={{{s|}}}|r={{{r}}}
|y=k{{{r}}}l
|o=mpgimp mpgus
|b=1000000
|j=6-{{{j|0}}}}}<noinclude>
[[Category:Subtemplates of Template Convert]]
</noinclude>

to looking like this.

{{convert/{{#ifeq:{{{D|voldist}}}|voldist|{{{d}}}|error}}F|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|s={{{s|}}}
|r={{{r}}}
|D=voldist
|y=k{{{r}}}l
|o=mpgimp mpgus
|b=1000000
|j=6-{{{j|0}}}}}<noinclude>
[[Category:Subtemplates of Template Convert]]
</noinclude>

The double-unit subtemplates only need the first {{{d}}} replaced with a {{#ifeq:{{{D|voldist}}}|voldist|{{{d}}}|error}} and they don't need |D=voldist.

for example

Template:Convert/km/l mpgimp (edit | talk | history | links | watch | logs) goes from looking like this

{{convert/multi2{{{d}}}|{{convert/{{{d}}}F|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|s={{{s|}}}
|y=k{{{r}}}l
|b=1000000
|j=6-{{{j}}}}}|{{convert/{{{d}}}F|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|s={{{s|}}}
|y=mig{{{e|}}}
|b=(1609344/4.54609)
|j=5.549010856-{{{j}}}}}}}<noinclude>
[[Category:Subtemplates of Template Convert]]
</noinclude>

to looking like this.

{{convert/multi2{{#ifeq:{{{D|voldist}}}|voldist|{{{d}}}|error}}|{{convert/{{{d}}}F|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|s={{{s|}}}
|y=k{{{r}}}l
|b=1000000
|j=6-{{{j}}}}}|{{convert/{{{d}}}F|{{{1}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|s={{{s|}}}
|y=mig{{{e|}}}
|b=(1609344/4.54609)
|j=5.549010856-{{{j}}}}}}}<noinclude>
[[Category:Subtemplates of Template Convert]]
</noinclude>

JIMp talk·cont 01:49, 16 August 2009 (UTC)

New units
*{{convert|10.00|BTU/mi}}
*{{convert|10.00|kJ/km}}
*{{convert|10.00|MJ/km}}

*{{convert|10.00|kWh/mi}}
*{{convert|10.00|kWh/km}}
*{{convert|10.00|kWh/100 km}}
  • 10.00 British thermal units per mile (6.56 kJ/km)
  • 10.00 kilojoules per kilometre (15.25 BTU/mi)
  • 10.00 megajoules per kilometre (15,250 BTU/mi)
  • 10.00 kilowatt-hours per mile (6.21 kW⋅h/km; 22.4 MJ/km)
  • 10.00 kilowatt-hours per kilometre (36.0 MJ/km; 16.09 kW⋅h/mi)
  • 10.00 kilowatt-hours per 100 kilometres (0.360 MJ/km; 0.1609 kW⋅h/mi)

JIMp talk·cont 05:49, 16 August 2009 (UTC)

Can you clarify what you are trying to do with {{#ifeq;voldist|voldist|{{{d}}}|error}}, because the syntax seems incorrect. — Martin (MSGJ · talk) 07:52, 16 August 2009 (UTC)
You're right, that's meant to be a colon not a semicolon. What {{#ifeq:{{{D|voldist}}}|voldist|{{{d}}}|error}} is meant to do is send you to an error message if you try convert incompatible units i.e. between fuel efficiency and energy efficiency. Like this {{convert|5|to|10|mpgus|MJ/km|abbr=on}} → "5 to 10 mpg‑US ([convert: unit mismatch])". JIMp talk·cont 09:09, 16 August 2009 (UTC)
It wasn't just the semicolon that was wrong; the whole parameter was missing. I see you've now corrected this, but it worries me that you would request such a major change to an important template that contained such a fundamental error. I would suggest making sandbox versions of your proposed code and testing extensively first. It would also be a good idea to get someone else who is familiar with this template to check your code before replacing the request. Regards, — Martin (MSGJ · talk) 10:33, 16 August 2009 (UTC)
I understand your concern but I have tested it extensively. The whole missing parameter was a product of not putting it in nowikis. I'm not sure who I'd ask to check the code. Why don't we take it bit by bit? Make the edits to {{convert/LoutAonDsSoffF}} and {{convert/impgal/mi}} (they haven't managed to find any use) then we'll test them and see how things go. JIMp talk·cont 17:32, 16 August 2009 (UTC)

Bad behaviour on documentation pages

It was pointed out to me that a bug that was present back in March has returned and it seems to me that it occured within the last few days. It involves template documentation pages. For examples check out User:Droll/bug. The first and third examples had been working since the fix back in March. The second example has always caused and exception. You can find a living example of a documentation page with the problem at Template:Infobox Protected area. I learned of this from PC78 who has mentioned to MSGJ and Jimp. I hope someone here can help. Thanks –droll [chat]

It's odd. JIMp talk·cont 18:11, 16 August 2009 (UTC)
I did some digging and I found that User:CapitalR changed Jimp's version on March 17, 2009. This is surly the fix that resolved the issue last March. None of the other sub-templates have been edited since then. Here are some examples of the bug affecting current doc pages:
{{Infobox Protected area}} (one I wrote and that uses infobox
{{Infobox Firearm Cartridge}} (does not use infobox)
{{Ft to m}} (this one and the one above used as example here)
All seem to accuse {{Rnd/b}} but that might change if the sign of the number changed, etc. Interestingly doing the Google search of wiki.riteme.site for "rnd/bExpression error" resulted in only one hit, {{Rnd/a0}}, but that message appeared because there was no includeonly and I just changed that. This would suggest that something happened since Google last crawled wiki.riteme.site. I'm thinking that fudging the examples on the doc pages might be the best solution for now. –droll [chat]

disp=table and sortable=on

Is there any way to fix the alignment problem caused by using sortable=on; Currently what I'm getting is

Name Height
m
Height
ft
Place A 100 330
Place A 100 330
Place B 2,000 6,600
Place B 2,000 6,600

The problem is caused by "sortable=on"

| Place A
| {{convert|100|m|disp=table}}
|-
| Place A
| {{convert|100|m|disp=table|sortable=on}}
|-
| Place B
| {{convert|2000|m|disp=table}}
|-
| Place B
| {{convert|2000|m|disp=table|sortable=on}}

Enter CambridgeBayWeather, waits for audience applause, not a sausage 12:01, 19 August 2009 (UTC)

It's not optimal but this will work.
| Place A
| {{convert|100|m|disp=table}}
|-
| Place A
|align=right {{convert|100|m|disp=table|sortable=on}}
|-
| Place B
| {{convert|2000|m|disp=table}}
|-
| Place B
|align=right {{convert|2000|m|disp=table|sortable=on}}
JIMp talk·cont 21:27, 19 August 2009 (UTC)
Thanks. That will do fine for what I want. Enter CambridgeBayWeather, waits for audience applause, not a sausage 04:53, 20 August 2009 (UTC)

Fuel efficiency in tables

{{editprotected}}

The code of {{convert/tableF}} is incorrect. The correct code is at {{convert/testtableF}} which can be tested using disp=testtable as is shown below. Note the error using the current code.

Please replace the current code of {{convert/tableF}} with the code of {{convert/testtableF}} (as shown below).

{{convert/{{#if:{{{4|}}}|s}}{{#if:{{{3|}}}|p}}round{{{s|}}}{{{i|}}}|{{{1}}}|{{{2}}}/{{{b}}}|{{{3}}}|{{{4}}}|{{{j}}}|1/({{{2}}}*{{{b}}})}}<noinclude>
{{pp-template|small=yes}}
[[Category:Subtemplates of Template Convert]]
</noinclude>

JIMp talk·cont 23:58, 22 August 2009 (UTC)

Done. — RockMFR 02:57, 23 August 2009 (UTC)
Thanks JIMp talk·cont 22:39, 23 August 2009 (UTC)

$ per square foot conversion

Resolved

I need a template for converting $/square foot to $/square meter. Can {{convert}} be adapted for such a purpose? I need such a template at Trump International Hotel and Tower (Chicago) and I doubt this is the only place it could be useful on wikipedia.--TonyTheTiger (t/c/bio/WP:CHICAGO/WP:LOTM) 21:04, 23 August 2009 (UTC)

I'm looking into it. JIMp talk·cont 22:41, 23 August 2009 (UTC)
I've got a very basic version working.
{{convert|100|$/m2}} → "$100 per square metre ($9.3/sq ft)"
{{convert|100|$/sqft}} → "$100 per square foot ($1,100/m2)"
{{convert|100|$/m2|abbr=on}} → "$100/m2 ($9.3/sq ft)"
{{convert|100|$/sqft|abbr=on}} → "$100/sq ft ($1,100/m2)"
By "basic" I mean you've got two options: abbreviate or not—linking, tables, adjectives, etc. are yet to come. JIMp talk·cont 00:20, 24 August 2009 (UTC)
Looks good. Thanks.--TonyTheTiger (t/c/bio/WP:CHICAGO/WP:LOTM) 02:15, 24 August 2009 (UTC)

Good work!

This template is very useful and very well done. Kudos to all those who made it. Oreo Priest talk 02:01, 24 August 2009 (UTC)

Range and sig figs problem

This: 1 to 2.5 metres (3 ft 3 in to 8 ft 2 in) ({{convert|1|to|2.5|m|sigfig=1}}) doesn't work. Any idea how to fix it?

I'll have a look. In the mean time try {{convert|1|to|2.5|m|ft|sigfig=1}}. JIMp talk·cont 03:07, 24 August 2009 (UTC)
That works, thanks. Oreo Priest talk 03:09, 24 August 2009 (UTC)

Combo request: acre, km2, ha

I came to this talk page planning to request support for another combination conversion as described at Template:Convert#Units supported. I checked the talk archive and found Template talk:Convert/Archive May 2008#Square_kilometre.2C_hectare.2C_acre, and thought the topic warrants further discussion before I make the request.

The scenario is this: I'm editing and article about a place in the United States for which the primary source mentions the acreage of a couple of parcels of land. To make the number more meaningful to the broader set of English-reading Wikipedia users, I thought after a minimal amount of research that showing the number as acres/ha/sqkm would be the best approach. Sure, the math used to convert sqkm to ha is trivial, but the article is not about surveying or math; the goal is to just let the reader take note of the acreage without distracting them with math, however simple. Lacking the three-way combination support I want in convert, and not wanting to use two converts, my minimal research suggests acre/ha are the two to go with, particularly for parcels of land on the order of about 50 acres (0.20 km2). Going with sqm, e.g. 50 acres (200,000 m2) seems distracting too.

Depending on the direction this discussion takes, if any, I either want to request support for acres/ha/sqkm or get advice about whether acres/sqkm, acres/ha, or even acres/sqm is less distracting for acreages of less than 100. Thanks. 72.244.207.235 (talk).

How about 50 acres (20 ha)? JIMp talk·cont 11:04, 25 August 2009 (UTC)