51 ms·
I started using this tool some years ago after I found out the CO₂ cost of a Google search. I don't need a web query when I search "40000lb in tonnes" when rea
by Symbiote 6y ago
I started using this tool some years ago after I found out the CO₂ cost of a Google search. I don't need a web query when I search "40000lb in tonnes" when reading an American news article, for example.
units 40000lb tonnes
* 18.143695
It even includes currencies. "sudo units_cur" will update the exchange rate data file, if you need that.
units 50GBP USD
* 68.143948
- Freak_NL 6y ago> "sudo units_cur" will update the exchange rate data file, if you need that. Oh good tip that. I noticed the package on Ubuntu 20.04 came with currency conversion from 2019. Not very useful without updating it.
- skissane 6y ago> It even includes currencies. "sudo units_cur" will update the exchange rate data file, if you need that. Doesn't work for XDR. Of course, who needs XDR? I sure don't. But you can get the XDR exchange rate with this command: curl -d '__EVENTTARGET=lbnTSV' POST -v https://www.imf.org/external/np/fin/data/rms_sdrv.aspx https://www.imf.org/external/np/fin/data/rms_sdrv.aspx Maybe someone should integrate that into units_cur.