API:Data.DB.TBCDField.SetAsFloat

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetAsFloat(Value: Double); override;

C++

virtual void __fastcall SetAsFloat(double Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Data.DB.pas
Data.DB.hpp
Data.DB TBCDField

Description

Sets the value of the field with the given Double value.

Data.DB.TBCDField.SetAsFloat inherits from Data.DB.TField.SetAsFloat. All content below this line refers to Data.DB.TField.SetAsFloat.

Sets the value of the field with the given Double value.

Descendants of TField that represent Double fields override the SetAsFloat method to set the value of the field with the given Double Value.

Trying to call the SetAsFloat method raises an exception.

See Also