I would like to check if the decimal number is NULL or it has some value, since the value is assigned from database in class object:\[code\]public decimal myDecimal{ get; set; }\[/code\]and then I have \[code\]myDecimal = Convert.ToDecimal(rdrSelect[23].ToString());\[/code\]I am trying:\[code\]if (rdrSelect[23] != DBNull.Value) { myDecimal = Convert.ToDecimal(rdrSelect[23].ToString()); }\[/code\]But I am getting this: \[quote\] the result of the expression is always 'true' since a value of type 'decimal' is never equal to null\[/quote\]How can I check if that decimal number has some value?