Hi all,
I have an expression like this:
decimal? ValoreComplessi voNettoDelfondo Value = (totaleAttivita Value.HasValue
|| totalePassivita Value.HasValue) ? ((totaleAttivit aValue ?? 0) -
(totalePassivit aValue ?? 0)) : null;
where every variable is of type Decimal?.
But VS 2005 returns me the error "Impossibil e implicit conversion between
decimal and null".
Where's the problem?
Thanks a lot.
--
Luigi
I have an expression like this:
decimal? ValoreComplessi voNettoDelfondo Value = (totaleAttivita Value.HasValue
|| totalePassivita Value.HasValue) ? ((totaleAttivit aValue ?? 0) -
(totalePassivit aValue ?? 0)) : null;
where every variable is of type Decimal?.
But VS 2005 returns me the error "Impossibil e implicit conversion between
decimal and null".
Where's the problem?
Thanks a lot.
--
Luigi
Comment