title: SSRS Format Field with Expression Based on Count of Decimal Places
body: <p>I have a field in an SSRS report that occasionally contains decimal places. The majority of the time I want to format the field with an "n0" so that I get the nice comma every three digits but no decimal places. However, in the rare cases where there are decimals, I want to format the field "n4". How do I write a expression to detect whether decimals exists?</p>