may be it is a simple question but I\'m try all of conversion method! and it still has error! would you help me?
decimal? (nullable decimal) to decimal
Try using the ?? operator:
??
decimal? value=12; decimal value2=value??0;
0 is the value you want when the decimal? is null.
decimal?