FireDAC.Stan.Option.TFDFormatOptions.MaxBcdPrecision

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property MaxBcdPrecision: Integer read GetMaxBcdPrecision write SetMaxBcdPrecision  stored IsMBPS default 18;

C++

__property int MaxBcdPrecision = {read=GetMaxBcdPrecision, write=SetMaxBcdPrecision, stored=IsMBPS, default=18};

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 precision.

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

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

See Also