mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 07:59:15 +02:00
+ Initialized ValidChars and Precision in FloatField
git-svn-id: trunk@120 -
This commit is contained in:
parent
792d252aa3
commit
48c968edf6
@ -1408,6 +1408,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;
|
||||
|
Loading…
Reference in New Issue
Block a user