Haelwenn /элвэн/ :triskell: on Nostr: $ /opt/plan9/bin/units /opt/plan9/lib/units you have: 32°F you want: °C is 0 °C ...
$ /opt/plan9/bin/units /opt/plan9/lib/units
you have: 32°F
you want: °C
is 0 °C
you have: 25°F
you want: °C
is -3.88889 °C
As far as I know this is correct.
But now GNU units(1):
$ units
Currency exchange rates from exchangerate-api.com (USD base) on 2024-11-25
Consumer price index data from US BLS, 2024-11-24
7290 units, 125 prefixes, 169 nonlinear units
You have: 32°F
You want: °C
* 17.777778
/ 0.05625
You have: 25°F
You want: °C
* 13.888889
/ 0.072
You have: 32 degF
You want: degC
* 17.777778
/ 0.05625
you have: 32°F
you want: °C
is 0 °C
you have: 25°F
you want: °C
is -3.88889 °C
As far as I know this is correct.
But now GNU units(1):
$ units
Currency exchange rates from exchangerate-api.com (USD base) on 2024-11-25
Consumer price index data from US BLS, 2024-11-24
7290 units, 125 prefixes, 169 nonlinear units
You have: 32°F
You want: °C
* 17.777778
/ 0.05625
You have: 25°F
You want: °C
* 13.888889
/ 0.072
You have: 32 degF
You want: degC
* 17.777778
/ 0.05625