format currency

D

David C

I am using DataFormatstring as "{0:c"} for a money column and it works
great. However, I would like to have $0.00 (zero values) show as Null or
blank. What do I need to add to my format string? Thanks.

David
 
D

David C

Mark Rae said:

That worked. I ended up with the following and since a space was in the 3rd
param it displayed blank.

# Bind("SellingPrice", "{0:$#,##0.00;($#,##0.00); }")

Thanks for your info.

David
 

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

Members online

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top