You've already forked lazarus-ccr
fpspreadsheet: Fix result of formula with unary plus having a string as input.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8257 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -3184,7 +3184,7 @@ begin
|
|||||||
if TryStrToFloat(cell^.UTF8StringValue, val) then
|
if TryStrToFloat(cell^.UTF8StringValue, val) then
|
||||||
Result := FloatResult(val)
|
Result := FloatResult(val)
|
||||||
else
|
else
|
||||||
Result := ErrorResult(errWrongType);
|
Result := StringResult(cell^.UTF8StringValue);
|
||||||
end else
|
end else
|
||||||
if cell^.ContentType = cctNumber then
|
if cell^.ContentType = cctNumber then
|
||||||
begin
|
begin
|
||||||
|
Reference in New Issue
Block a user