Explorar o código

+ Merged revisions 120

git-svn-id: branches/fixes_2_0@122 -
michael %!s(int64=20) %!d(string=hai) anos
pai
achega
3777686630
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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;