of the Month (August 2001)
the Number of Decimal Places Displayed
you display a numeric value using a Visual CE form, you may want
control how many digits are shown to the right of the decimal point.
can do this by selecting the appropriate datatype and setting the
default, integer values are shown without any decimal digits. If
"Money" property is on, the value is divided by 100 and
is shown with two
default, floating point values are shown with six decimal digits.
"Money" property is on, the value is rounded to two decimal
If you wanted to remove all the decimal digits in the value, you could
(assuming, of course, your value is in @var(45))
(also see the June 2006 tip of the month)