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
Proxy blocking sites on IE7 (intermittantly) but not IE6...
Automatically decline meeting request for a specific meeting on the calendar
Cannot access Linked Server from a workstation
Pivot Chart Grand Total
create a yes no messagebox in asp.net
Displaying HTML in MS Access report
Left Join Distinct Rows only?
Access query to include lowest value from another table
remove old computers from active directory 2008
How to Parse http.ResponseText returned from Web service