TcxCustomCurrencyEditProperties.DecimalPlaces Property
Defines the number of decimal places.
Declaration
property DecimalPlaces: Integer read; write;
Property Value
Type |
---|
Integer |
Remarks
The DecimalPlaces property defines the number of digits to the right of the decimal point. A user cannot enter more digits after the decimal point than the value of the DecimalPlaces property. DecimalPlaces affects the presentation of the currency fractional part only when the editor has focus. If it doesn’t, the number’s presentation is completely controlled by the DisplayFormat member.
The default value of the DecimalPlaces property is determined by the CurrencyDecimals field exposed by the global FormatSettings variable defined in the SysUtils unit. In RAD Studio 2010, this field corresponds to a global variable defined in this unit.
See Also