Microsoft
Software
Hardware
Network
Question : Operator '>' can not be applied to operands of type double or decimal
I'm a bit baffled why I can not do this:
double speed = 100.0;
if ( speed < 200.0)
{
// do something
}
what gives?
newbieweb
Answer : Operator '>' can not be applied to operands of type double or decimal
well, same play
1: 2: 3: 4: 5: 6:
decimal speed = 100.0; decimal check_value = 200.0; if (speed < check_value) { }
Open in New Window
Select All
Random Solutions
Outlook rule that filters messages containing words in the subject line
vb.net - get hard drive serial
Can we install SCCM in the same machine where the Domain is setup.
Embedding an MSI inside the Setup.exe in Visual Studio
What Is a Good Imaging Software For Installing Windows On Refurbashed Laptops?
I only want one record from my left join call
format date in text box control
Embed Excel into an Access tab control page
Insert Values
DistributedCOM error 10009 help