DecimalPlaces Property

Applies to TestComplete 15.47, last modified on January 20, 2023

Specifies the maximum number of decimal places in the component’s value.

Declaration

componentPropObj.DecimalPlaces
Read-Write Property Integer
componentPropObj     One of the objects listed in the Applies To section  

Applies To

The property applies to the following objects:

TcxCurrencyEditProperties

Description

The DecimalPlaces property lets you get or set the maximum number of decimal places in the component’s value. The DecimalPlaces property limits the length of the value’s fractional part that can be entered into the component. In other words, the user cannot enter more digits after the decimal point, as specified by the value of this property.

Note that the number of decimal places in the component’s displayed value is specified by the DisplayFormat and EditFormat properties.

Property Value

An integer value that denotes the maximum number of decimal places in the component’s value. The default value is specified by the system’s regional settings.

See Also

DisplayFormat Property
EditFormat Property

Highlight search results