|
@@ -651,8 +651,10 @@ implementation
|
|
{$endif cpu64bit}
|
|
{$endif cpu64bit}
|
|
else if (left.resultdef.typ=orddef) then
|
|
else if (left.resultdef.typ=orddef) then
|
|
begin
|
|
begin
|
|
- inserttypeconv(left,sinttype);
|
|
|
|
- resultdef:=left.resultdef;
|
|
|
|
|
|
+ if (torddef(left.resultdef).ordtype <> scurrency) then begin
|
|
|
|
+ inserttypeconv(left,sinttype);
|
|
|
|
+ resultdef:=left.resultdef;
|
|
|
|
+ end;
|
|
end
|
|
end
|
|
else
|
|
else
|
|
begin
|
|
begin
|