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
Adding Formatting to GridView Export To Excel
problem with VBA code to operate command on sub-form
Subforms and bookmarks
SCCM 2007R2 Collections Do Not Update
Window Server 2008 64bit Standard
limit for ms sql
Need Query for this problem
Exchange 2007 Export-Mailbox
silverlight 3.0 mouse wheel support
internet explorer 8 is not supported on this operating system vista