Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomCurrencyEditProperties.DecimalPlaces Property

Specifies the number of decimal places in a value when the currency editor has focus.

#Declaration

Delphi
property DecimalPlaces: Integer read; write;

#Property Value

Type Description
Integer

The number of decimal places in a value when the currency editor has focus.

#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