if statement wont return currency format

G

Guest

Okay, I'm missing something. I have an if statement on a field (negative
partials), properties is set to currency on both fields(partial mrc) and
(negative partials):
Statement:
Negative Partial:
IIf([partial_mrc]<0,[partial_mrc],IIf([partial_mrc]>0,"$0.00"))

In my Negative Partial field it comes over like 83.3367 when it shoud come
across as $83.33.

Thank you for your always on-going help!
 
F

fredg

Okay, I'm missing something. I have an if statement on a field (negative
partials), properties is set to currency on both fields(partial mrc) and
(negative partials):
Statement:
Negative Partial:
IIf([partial_mrc]<0,[partial_mrc],IIf([partial_mrc]>0,"$0.00"))

In my Negative Partial field it comes over like 83.3367 when it shoud come
across as $83.33.

Thank you for your always on-going help!

IIf([partial_mrc]<0,Format([partial_mrc],"#.00"),IIf([partial_mrc]>0,"$0.00"))
 

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

Similar Threads


Top