Ver código fonte

+ Merged revisions 120

git-svn-id: branches/fixes_2_0@122 -
michael 20 anos atrás
pai
commit
3777686630
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      fcl/db/fields.inc

+ 2 - 0
fcl/db/fields.inc

@@ -1410,6 +1410,8 @@ constructor TFloatField.Create(AOwner: TComponent);
 begin
   Inherited Create(AOwner);
   SetDatatype(ftfloat);
+  FPrecision:=15;
+  FValidChars := [DecimalSeparator, '+', '-', '0'..'9', 'E', 'e'];
 end;
 
 Function TFloatField.CheckRange(AValue : Double) : Boolean;