News for hackers. Stuff that matters.
Re:Tell HN: iOS converts units for highlighted text by ulfw on Wednesday April 26, 2023 @11:34PM (#35723019)
Not the most useful thing in the world if one lives outside the US. The 'conversions' offered to me where: 450 g is "450 Grams" and "0.45 kilograms"

Yea ok.

Re:Tell HN: iOS converts units for highlighted text by sp332 on Thursday April 27, 2023 @12:06AM (#35723178)
It's location-based, right? (Hopefully!) Try: 2 pounds.
Re:Tell HN: iOS converts units for highlighted text by tylerchr on Thursday April 27, 2023 @12:15AM (#35723233)
Heh, that gives “2.49 US dollars,” before the expected 907.18 grams.
Re:Tell HN: iOS converts units for highlighted text by francisjpo on Thursday April 27, 2023 @01:22AM (#35723616)
Try with 2 lb. Pound is for money. Libra pondo is for weight.
Re:Tell HN: iOS converts units for highlighted text by kccqzy on Thursday April 27, 2023 @01:31AM (#35723673)
It now says 2.50 US dollars. The exchange rate updates in real time?
Re:Tell HN: iOS converts units for highlighted text by philsnow on Thursday April 27, 2023 @12:18AM (#35723244)
On mine you can keep scrolling to the right and I see “0.99 lbs”.
Re:Tell HN: iOS converts units for highlighted text by zamnos on Thursday April 27, 2023 @04:26AM (#35724929)
If you're outside the US, you can select 0.99 lbs above and see what it is in metrics units. Weirdly though, 99 lbs doesn't offer a conversion.
Re:Tell HN: iOS converts units for highlighted text by morgunkorn on Thursday April 27, 2023 @08:50AM (#35727243)
I get 44 906 g | 44.91 kg using the text in your reply, maybe it's a contextual thing?
Re:Tell HN: iOS converts units for highlighted text by selectodude on Thursday April 27, 2023 @12:44AM (#35723438)
Worked perfectly for me.
Re:Tell HN: iOS converts units for highlighted text by dschuler on Thursday April 27, 2023 @12:52AM (#35723473)
See Settings -> General -> Language & Region

Conversions will be into your preferred units set there.

Re:Tell HN: iOS converts units for highlighted text by jurip on Thursday April 27, 2023 @01:12AM (#35723560)
Not really, or it has some pretty weird ideas about preferred units in my region. When trying to get a conversion for 1 cup, it tells me it's 0.5 pints. My region is Finland, language is Finnish, and roughly no-one understands those units.
Re:Tell HN: iOS converts units for highlighted text by lstamour on Thursday April 27, 2023 @01:38AM (#35723709)
Weird. I’m in Canada and I see the following when I select “1 cup”:

0.24 L | 23.66 cL | 236.59 mL | 236.59 cm^3 | 0.0625 gal | 0.5 pt | 0.25 qt | 8 fl oz | 16 tbsp | 48 tsp | 0.00836 ft^3 | 14.44 in^3

My “measurement system” under language and region in settings is set to “Metric”. Perhaps yours is incorrectly set to “UK”?

I’m also running iOS 16.5 beta, if it helps.

Re:Tell HN: iOS converts units for highlighted text by codetrotter on Thursday April 27, 2023 @02:11AM (#35723915)
Similarly I am on iOS 16.2 and have measurement system set to metric, my region to Norway, and my main preferred language to English.

I see the following: 0,24 l | 23,66 cl | 236,59 ml | 236,59 cm^3

It’s using comma as decimal because the number format is set as 1 234 567,89 as is default for region Norway.

It’s weird that mine shows the symbol for litres as a lowercase L and not as an uppercase L though.

Re:Tell HN: iOS converts units for highlighted text by jonsen on Thursday April 27, 2023 @02:54AM (#35724233)
Both of 'l' and 'L' are acceptable as unit abbreviations for litre:

https://en.m.wikipedia.org/wiki/Non-SI_units_mentioned_in_th...

Re:Tell HN: iOS converts units for highlighted text by newaccount74 on Thursday April 27, 2023 @02:49AM (#35724188)
The metric conversions are idiotic. Converting "1 cup" to 5 decimal places is misleading, and offering alternatives in l / cl / ml (with a capital ell??) is useless. The addition of cm^3 is the cherry on top :)

This was clearly designed by someone who has never used the metric system.

A human would convert it to "1/4 liter" or "250ml".

Edit: Actually, a human would convert "1 cup of flour" into "150g flour", since most local recipes use weight instead of volume for solids. Which shows that good localisation is a lot more than just literal translation + unit conversion.

Re:Tell HN: iOS converts units for highlighted text by Punavuori on Thursday April 27, 2023 @02:13AM (#35723928)
Funny, for me the units shown are 0,24l and 23,66cl. (Also from Finland). OS language english, but locale Finland.