CURRENCY Question

K

kealaz

Hello,

I have a report (purchase order) that shows dollar amounts for product. For
the most part, the prices are two decimal places [$x.xx] but every once in a
while, I buy smaller items that cost less than a penny each and need to enter
an amount of [$x.xxxx].

EXAMPLE right now.... if something cost $ 0.008 cents, then it shows as
unit cost: $ 0.01
qty: 1000
ext. price: $ 8.00

[so, it's doing the math right, but showing the unit cost wrong]

On my P.O. (report) it is in the format of currency with decimal places on
AUTO. If I take it off of auto and make it 4 decimal places, then ALL of the
prices show as 4 decimal places... such as $ 0.9900, which I don't want.

How can I make it so that it is normally two decimal places and only 3 or 4
when I enter it as such? Do I change it on the report? or on the underlying
table?


Thank you very much for your assistance!!!
 
A

Allen Browne

Set the Format property to an expression like this:
$#,##0.00##;-$#,##0.00##

The zeros are forced digits, and the hashes are optional (used only when
needed.) The second part is for negative values.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top