mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 19:11:03 +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
|
begin
|
||||||
Inherited Create(AOwner);
|
Inherited Create(AOwner);
|
||||||
SetDatatype(ftfloat);
|
SetDatatype(ftfloat);
|
||||||
|
FPrecision:=15;
|
||||||
|
FValidChars := [DecimalSeparator, '+', '-', '0'..'9', 'E', 'e'];
|
||||||
end;
|
end;
|
||||||
|
|
||||||
Function TFloatField.CheckRange(AValue : Double) : Boolean;
|
Function TFloatField.CheckRange(AValue : Double) : Boolean;
|
||||||
|
Loading…
Reference in New Issue
Block a user