Data.DB.TDateTimeField.GetAsFloat
Delphi
function GetAsFloat: Double; override;
C++
virtual double __fastcall GetAsFloat();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Data.DB.pas Data.DB.hpp |
Data.DB | TDateTimeField |
Description
Returns the value of the field as a Double.
The GetAsFloat method returns the value of the field as a Double. If the field is empty, 0 is returned.