When entering a formula with trailing whitespaces the result is 0 (zero), e. g.
A=5
B=6
C=2*A+B+1 <--- whitespaces
0=f(2*A+B+1)
returns C=0 instead of C=17
Formula with trailing whitespace always returns 0
Your found a bug? Please report it here.
Re: Formula with trailing whitespace always returns 0
I tried this in 0.73-dev1 and the problem does not occur.
Are you sure, you have a normal whitespace there (Code 0x20) and not something different?
Are you sure, you have a normal whitespace there (Code 0x20) and not something different?
Re: Formula with trailing whitespace always returns 0
Hi,
problem is in copy/paste with trailing whitespace.
Tested on GC849M8 with formula
E14° (D*C+5*B-A*5-E*3*C+2*C-4+F*A)/1000
Yoy can try this:
add white space at end and nothing to see
add second whitespace at end and foormula changes to
E14° (D*C+5*B-A*5-E*3*C+2*C-4+F*A)/1000.
(decimal dot at end) and you see error, and lose variables...
Jenda
problem is in copy/paste with trailing whitespace.
Tested on GC849M8 with formula
E14° (D*C+5*B-A*5-E*3*C+2*C-4+F*A)/1000
Yoy can try this:
add white space at end and nothing to see
add second whitespace at end and foormula changes to
E14° (D*C+5*B-A*5-E*3*C+2*C-4+F*A)/1000.
(decimal dot at end) and you see error, and lose variables...
Jenda