Data.DB.TParam.AsFloat

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AsFloat: Double read GetAsFloat write SetAsFloat;

C++

__property double AsFloat = {read=GetAsFloat, write=SetAsFloat};

Properties

Type Visibility Source Unit Parent
property public
Data.DB.pas
Data.DB.hpp
Data.DB TParam

Description

Specifies the value of the parameter when it represents a float field.

Set AsFloat to assign the value for a float field to the parameter. Setting AsFloat sets the DataType property to ftFloat.

Read the AsFloat property to determine the value that was assigned to an output parameter, represented as a double. The value of the parameter is converted to a double value if possible.

See Also

Code Examples