FireDAC.Stan.Option.TFDFormatOptions.MaxBcdScale

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property MaxBcdScale: Integer read GetMaxBcdScale write SetMaxBcdScale

C++

__property int MaxBcdScale = {read=GetMaxBcdScale, write=SetMaxBcdScale, stored=IsMBSS, default=4};

Properties

Type Visibility Source Unit Parent
property published
FireDAC.Stan.Option.pas
FireDAC.Stan.Option.hpp
FireDAC.Stan.Option TFDFormatOptions

Description

Controls the recognition of numeric values as FmtBCD values, depending on scale.

Use the MaxBcdScale property together with the MaxBcdPrecision property to control and represent the numeric column data type as dtFmtBCD or as dtBCD. The default value is 4. 

If the numeric column scale is less than or equal to MaxBcdScale, then the numeric column data type is defined as dtBCD, otherwise as dtFmtBCD.

See Also