Data.DB.TParam.Precision

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TParam

Delphi

property Precision: Integer read FPrecision write FPrecision default 0;

C++

__property int Precision = {read=FPrecision, write=FPrecision, default=0};

Description

Specifies the number of digits allowed for a numeric parameter.

Set Precision to indicate the maximum number of digits allowed in the parameter, including both significant and fractional.

Note: Precision only applies to parameters used by dbExpress datasets.

Note: The NumericScale property controls the number of fractional decimal digits allowed.

See Also