* Fix issue #39009, remove size 20 limit on float types

git-svn-id: trunk@49507 -
(cherry picked from commit f3e7d96053)
This commit is contained in:
michael 2021-06-16 09:33:45 +00:00 committed by marcoonthegit
parent 0c5cd7bfaa
commit 3c618da545

View File

@ -617,7 +617,8 @@ begin
// Note: this field can be stored as BCD or integer, depending on FPrecision;
// that's why we allow 0 precision
if FSize < 1 then FSize := 1;
if FSize >= 20 then FSize := 20;
// Removed, bug report 39009
// if FSize >= 20 then FSize := 20;
if FPrecision > FSize-2 then FPrecision := FSize-2; //Leave space for . and -
if FPrecision < 0 then FPrecision := 0;
end;