Round property

Use the Round property to round and truncate decimal values to a specified number of digits to the right of the decimal position. The number of digits is specified in the Decimal Point Position property.

The property can be set for a component with a data type of Decimal, Currency, R4, or R8 and for which no input mask is defined.

A truncated digit greater than 5 in a component value rounds the value up.

Setting Description
True Round and truncate a component's decimal value.
False Default. Do not round or truncate a component's decimal value.
相关主题