I'm creating a SQL report and one of the columns is a calculation that works out the number of pallets of stock.

The issue is some of the fields may be set to 0 which is giving me divide by 0 errors and giving a result of Infinity. I'm wanting to sum up the rows that do have resulting values but the infinity values stop this from being possible. 

How can I default the value to 0 if the result from the calculation isn't a value?

My expression is below:

```
=CDBL((Fields!AVAIL.Value/Fields!pack.Value)/Fields!units.Value)

```