From: ara.t.howard@... Date: 2006-08-24T04:21:38+09:00 Subject: Re: Ruby Units On Thu, 24 Aug 2006, Calamitas wrote: > >> I just noticed something. The Linux utility "units" handles both >> temperature >> and temperature differences, and they are distinguished by syntax: >> >> $ units "tempC(0)" tempF # absolute temperature >> 32 >> >> $ units "32 degF" degC # temperature difference >> * 17.777778 >> / 0.05625 >> >> So it seems it has been done. > > We considered something like this too, but what bothers me is that > tempC, tempF, degC and degF are no actual units. > > I think this is an issue with the people who started this library both > being perfectionists. None of the solutions we could think of, are > perfect. > > I'll see if I can get a tempC-degC like scheme to work, and then we > can still decide this afterwards. http://www.gnu.org/software/units/manual/units.html http://www.gnu.org/software/units/manual/units.html#tempconvert http://narray.rubyforge.org/quanty/quanty-en.html regards. -a -- to foster inner awareness, introspection, and reasoning is more efficient than meditation and prayer. - h.h. the 14th dali lama