Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coalescence blues
Message
 
 
À
14/03/2017 12:07:51
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 5.0
OS:
Windows 8.1
Network:
Windows Server 2012 R2
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01649038
Message ID:
01649046
Vues:
31
>>>>Try using decimal 0 constant. Google on how to set it up correctly, I don't think it's 0.00 as it would be in SQL Server.
>>>
>>>0M
>>>but it is irrelevant here.
>>
>>I was just answering direct question as how to fix the conversion issue (I had similar problems before). But in the whole code we don't really need a conversion, as the sum will result in 0 anyway.
>
>I don't understand but OK.

In his code he doesn't need ?? operator, I believe.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform