The $RIGHT() function uses the cell to the left instead of the right. Test case using
%CALC{$SUM($RIGHT())}%
in the middle row:
1 |
2 |
7 => |
3 |
4 |
5 |
6 |
15 => |
7 |
8 |
Expected middle row values: 7 and 15, respectively. (With bug it is 9 and 21, respectively.)
Here is a
%CALC{$SUM($LEFT())}%
function for comparison in the middle row:
1 |
2 |
<= 3 |
3 |
4 |
5 |
6 |
<= 11 |
7 |
8 |
Expected middle row values: 3 and 11, respectively.
--
TWiki:Main/PeterThoeny
- 2011-03-25
This is now in SVN trunk and 5.0 branch.
--
TWiki:Main.PeterThoeny
- 2011-03-25