Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Coalescence blues
Message
From
14/03/2017 12:09:20
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 5.0
OS:
Windows 8.1
Network:
Windows Server 2012 R2
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01649038
Message ID:
01649047
Views:
34
>>>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform