G
Guest
I would like to format numbers in my report as follows: If the number is an
integer, display the number, if the number is not display 2 decimal places.
I tried "#.##" as the Format Property for the control but that shows the "."
for integers.
I tried an IIF as control source but that produced an error. {
IIF(INT([num]) = [num],format([num],"#"),format([num],"#.##")) }
Any help would be appreciated...
integer, display the number, if the number is not display 2 decimal places.
I tried "#.##" as the Format Property for the control but that shows the "."
for integers.
I tried an IIF as control source but that produced an error. {
IIF(INT([num]) = [num],format([num],"#"),format([num],"#.##")) }
Any help would be appreciated...