[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35608: 26.2; Calc temperature conversions
From: |
Harris, Bill |
Subject: |
bug#35608: 26.2; Calc temperature conversions |
Date: |
Mon, 13 May 2019 14:52:15 +0000 |
RTM, as they say. Thanks!
-----Original Message-----
From: npostavs@gmail.com <npostavs@gmail.com>
Sent: Monday, May 13, 2019 7:50 AM
To: Harris, Bill <wsharris@snopud.com>
Cc: Mauro Aranda <maurooaranda@gmail.com>; 35608@debbugs.gnu.org
Subject: Re: bug#35608: 26.2; Calc temperature conversions
CAUTION: THIS EMAIL IS FROM AN EXTERNAL SENDER.
Do not click on links or open attachments if the sender is unknown or the email
is suspect.
________________________________
close 35608
quit
"Harris, Bill" <wsharris@snopud.com> writes:
> Thank you, Mauro. I thought it gave absolute temperatures in previous
> versions (26.1, for example), but I just checked on version 25.1, and
> it, too, does as you say.
Right, see also (info "(calc) Basic Operations on Units") or
<https://www.gnu.org/software/emacs/manual/html_node/calc/Basic-Operations-on-Units.html>,
which has exactly this example conversion:
The 'u c' command treats temperature units (like 'degC' and 'K') as
relative temperatures. For example, 'u c' converts '10 degC' to '18
degF': A change of 10 degrees Celsius corresponds to a change of 18
degrees Fahrenheit. To convert absolute temperatures, you can use the
'u t' ('calc-convert-temperature') command. The value on the stack must
be a simple units expression with units of temperature only. This
command would convert '10 degC' to '50 degF', the equivalent temperature
on the Fahrenheit scale.