|
@@ -897,6 +897,8 @@ begin
|
|
sgs.DelimitedText := AB_Code;
|
|
sgs.DelimitedText := AB_Code;
|
|
iFirst := StrToIntDef(sgs.Strings[0], 0);
|
|
iFirst := StrToIntDef(sgs.Strings[0], 0);
|
|
Result := Trunc(iFirst/100);
|
|
Result := Trunc(iFirst/100);
|
|
|
|
+ if (Result >= 90) and (Result < 100) then
|
|
|
|
+ Result := 9;
|
|
finally
|
|
finally
|
|
sgs.Free;
|
|
sgs.Free;
|
|
end;
|
|
end;
|