Data.DB.TStringField.GetAsSingle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetAsSingle: Single; override;

C++

virtual float __fastcall GetAsSingle();

Properties

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

Description

Returns the value of the field as a Single.

GetAsSingle converts the field's value to the corresponding simple precision floating-point value and returns the obtained result. The StrToFloat function is called internally.

See Also