I have a data element in a table of type money. I want to test the value and see if it is > 0 so that I can act on it.
Currently I do this:
if ((decimal)rdr["DiscountAmt"] != (decimal)0)
This seems clumsy. Is there a better way to do it?
Thanks!
Mike
...
Go to the complete details ...