Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why does this format string turn "0" Blank?

Status
Not open for further replies.

j0em0mma

Programmer
Jul 31, 2003
131
US
I have the following format string applied to a Report Column:

Code:
=Format(Fields!Units_Distributed_in_Date_Range.Value,"###,###,###")

For any value other than zero (actually zero, not a NULL value) this works, but a zero is displayed as blank.

If I change this line to this:

Code:
=Fields!Units_Distributed_in_Date_Range.Value

I get my 0's back, but then do not get commas on numbers of 1000 or greater.

What's going on?

Thanks in advance!
 
SOLVED

Code:
=Format(Fields!Units_Distributed_in_Date_Range.Value,"###,###,##0")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top