4 ms·
I really like the UI and seeming wealth of different units. It doesn't look like it supports fluid ounces though. I tried "4 tbsp to oz" and it interprets oz a
by wotamRobin 9y ago
I really like the UI and seeming wealth of different units. It doesn't look like it supports fluid ounces though.
I tried "4 tbsp to oz" and it interprets oz as mass instead of volume. Google correctly gives me 2 as the answer.
- ythn 9y agoIt doesn't support "stones" (st?) either. I tried "20 st -> kg" (Game of Thrones uses stones as units of mass) but it didn't work.
- sharkdp 9y agoThank you for the feedback. I'm not sure how to support this. I would probably have to call it "fluid_ounce" / "fl_oz" or "fl.oz." in order to distinguish it from the unit of mass.
- jdmichal 9y agoYou could try to go the complicated route to disambiguate based on whether the other units present are liquid volume or mass.
- adrianmonk 9y agoWell, the way /usr/bin/units solves it is to allow "floz", "usfloz", "fluidounce", or "usfluidounce". Having to learn that you can type "floz" is better than not being able to do it at all. (You could also allow "fl oz", "fluid ounce", "fl ounce", etc. if you tweak your parser a little bit, but that's the deluxe version, and any functionality at all would be a big improvement.)