Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coalescence blues
Message
De
14/03/2017 12:09:20
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:
01649047
Vues:
35
>>>>>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.

He does.
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform