Data.DB.TParam.NumericScale

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 NumericScale: Integer read FNumericScale write FNumericScale default 0;

C++

__property int NumericScale = {read=FNumericScale, write=FNumericScale, default=0};

Description

Specifies the number of decimal places for the parameter.

Set NumericScale to indicate the maximum number of digits that can appear to the right of the decimal place in a parameter's value (the scale).

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

Note: The Precision property controls the total number of digits allowed.

See Also