L
Luigi
Hi all,
I have an expression like this:
decimal? ValoreComplessivoNettoDelfondoValue = (totaleAttivitaValue.HasValue
|| totalePassivitaValue.HasValue) ? ((totaleAttivitaValue ?? 0) -
(totalePassivitaValue ?? 0)) : null;
where every variable is of type Decimal?.
But VS 2005 returns me the error "Impossibile implicit conversion between
decimal and null".
Where's the problem?
Thanks a lot.
I have an expression like this:
decimal? ValoreComplessivoNettoDelfondoValue = (totaleAttivitaValue.HasValue
|| totalePassivitaValue.HasValue) ? ((totaleAttivitaValue ?? 0) -
(totalePassivitaValue ?? 0)) : null;
where every variable is of type Decimal?.
But VS 2005 returns me the error "Impossibile implicit conversion between
decimal and null".
Where's the problem?
Thanks a lot.