The number of decimal places accepted can be set for the following control types:
The Decimal Places property controls the number of decimal places shown in the control. If the value is set to a negative value, DriveWorks automatically determines the required number of decimal places.
Property Type: Dynamic
Default Value: -1
Hierarchical Reference: ControlName.DecimalPlaces
The default value of the property can be changed by any of the following methods:
|Decimal Places Property Value (static)||Result|
|4||Will truncate the entered value to 4 decimal places.|
|Decimal Places Property Value (Dynamic)||Result|
|IF( LengthReturn<25, 3, 2)|
Will truncate the entered value to 3 decimal places, when the control Length is less than 25, otherwise 2 decimal places will be allowed.
Value can be controlled by a rule.