Item10539: RIGHT() has wrong result due to incorrect start cell
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
http://develop.twiki.org/~twiki4/cgi-bin/view/Bugs/Item6667
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
nevermind, we already fixed this months and months ago...
--
WillNorris - 25 Mar 2011