emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: To convert and simplify units in tables (was:LIterate programming wi


From: ypuntot
Subject: Re: To convert and simplify units in tables (was:LIterate programming with calc (help))
Date: Sat, 10 Dec 2022 17:04:33 +0100 (GMT+01:00)

Hi Ihor.
I'm null at elisp. Could you please refer to me a simple example of math 
operation and unit simplification in elisp?
Thanks :$

10 dic 2022 14:51:39 Ihor Radchenko <yantar92@posteo.net>:

> Ypo <ypuntot@gmail.com> writes:
> 
>> (defmath uconvert (v u)
>>   "Convert value V to compatible unit U."
>>   (math-convert-units v u))
>> 
>> 
>> But no luck, "cs" result is an ERROR. Is it feasible to get a value for
>> "cs" with no units?
> 
> Note that apart from Calc formula notation, you can use Elisp. That will
> avoid all the gotchas Calc has.
> 
> -- 
> Ihor Radchenko // yantar92,
> Org mode contributor,
> Learn more about Org mode at <https://orgmode.org/>.
> Support Org development at <https://liberapay.com/org-mode>,
> or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]