trying to fix

This commit is contained in:
Chris Cochrun 2022-01-03 12:41:35 -06:00
parent fa407dfeb6
commit e013d7569e
22945 changed files with 447936 additions and 0 deletions

View file

@ -0,0 +1 @@
<!-- SC_OFF --><div class="md"><p>I have the following table and formular and wonder why the first one doesn&#39; work:</p> <pre><code>| data | number1 | number2 | delta | |-------+---------+---------+-------| | data1 | 23 | 4 | -92 | | data2 | 4 | 0 | 0 | | data3 | 1 | 0 | 0 | #+TBLFM: $4=(- $2 $3) </code></pre> <p>But when I do:</p> <pre><code>| data | number1 | number2 | delta | |-------+---------+---------+-------| | data1 | 23 | 4 | 19 | | data2 | 4 | 0 | 4 | | data3 | 1 | 0 | 1 | #+TBLFM: $4=(+ $2 -$3) </code></pre> <p>It works as expected.</p> <p>Even in debug-mode I don&#39; understand why in column 1 (- $2 $3) is -92 and not 19. (and why the others are 0 in the first example)</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/nielskob"> /u/nielskob </a> <br/> <span><a href="https://www.reddit.com/r/orgmode/comments/pnd18r/substraction_in_table/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/orgmode/comments/pnd18r/substraction_in_table/">[comments]</a></span>