Use which one suits for your issue..
decimal value = default(decimal);
object objvalue = value;
decimal? nullableValue = null;
object objval = nullableValue.HasValue ? nullableValue.Value : default(decimal);
decimal val = default(decimal);
decimal.TryParse(DBNull.Value.ToString(), out val);
object valueFromDataset = val;