Re: To convert and simplify units in tables

2022-12-12 Thread Fraga, Eric
On Sunday, 27 Nov 2022 at 20:19, Ypo wrote: > The alternative way I am trying is using an org-table. It is not > literate programming, but it is a spreadsheet with units ;D > [...] > Now, in a more practical case, I have some problems with units: > > | $ | E = 2141404.05 kg/cm^2 | > | $ |

Re: To convert and simplify units in tables (was:LIterate programming with calc (help))

2022-12-10 Thread ypuntot
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 : > Ypo writes: > >> (defmath uconvert (v u) >>   "Convert value V to compatible unit U." >>   (math-convert-units v u)) >

Re: To convert and simplify units in tables (was:LIterate programming with calc (help))

2022-12-10 Thread Ihor Radchenko
Ypo 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 al