DecimalPosition property: Field class

Description

Use this property to specify the number of digits after the decimal point to be displayed for a field defined as number or signed number.

This property overwrites the Decimal Positions value defined for a field in Application Designer.

Setting the DecimalPosition property to a smaller number than the record field's decimal position causes the displayed data to be truncated. For example, suppose a numeric field in the database has a value 0.005. Setting DecimalPosition to 2 displays 0.00 on page.

This property takes an integer value. The default value is -1, which indicates that the property is not set.

This property is read/write.