B
Bruce
I have a report containing a sum. Sometimes the sum is a
whole number, sometimes it has one decimal place, and
sometimes two. The number format #.## does what I want
except that it keeps the decimal point for a whole number
(i.e. 3.). Is there a way of supressing the decimal point
if the result is a whole number? I can sort of imagine
that an IIf statement could take care of it, but I'm not
sure how to put that together or where to put it. A minor
issue, but it keeps cropping up.
whole number, sometimes it has one decimal place, and
sometimes two. The number format #.## does what I want
except that it keeps the decimal point for a whole number
(i.e. 3.). Is there a way of supressing the decimal point
if the result is a whole number? I can sort of imagine
that an IIf statement could take care of it, but I'm not
sure how to put that together or where to put it. A minor
issue, but it keeps cropping up.