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 |
> | $ |
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))
>
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