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
Lexmark x83 drivers for Vista Business
Hosting WCF Service on IIS - Windows7
How to tell if the current database has been openeed exclusively
Exchange Server 2010 SMTP Outbound Mail
call shell failing
Script for clearing out Outlook temp folder
Forefromt TMG keep getting the following error Error Code: 502 Proxy Error.
Can you install scanpst.exe without MS office.
For Experts: Internal representation of pre-20th century dates... what do you think of this one?
Automatic Login to Intranet Site using ASP.Net