|
From: | Ypo |
Subject: | To convert and simplify units in tables (was:LIterate programming with calc (help)) |
Date: | Sun, 27 Nov 2022 20:19:42 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
Hi I have found an alternative
solution to this problem:
The alternative way I am trying is using an org-table. It is not literate programming, but it is a spreadsheet with units ;D | $ | a = 300 m | (Below "Area" cell it is the result
of a*b, and below "Payment" cell it is the result of Area*cost)
Now, in a more practical case, I have some problems with units: | $ | E = 2141404.05
kg/cm^2 | Below "cs" cell it appears 7.2... and this should be an
adimensional number (no units). Is it possible to simplify those
units? I have tried with: | $ | E = 2141404.05 kg/cm^2 | where uconvert is defined as: (defmath uconvert (v u)
But no luck, "cs" result is an ERROR. Is it feasible to get a value for "cs" with no units?
Best regards
|
[Prev in Thread] | Current Thread | [Next in Thread] |