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
How do I retrieve text from a website
Bios Password
How to Extract gZip Base64 encoded Data
Vista not Browsing but connected
MS Acceess 2002 Dynamically changed listbox
ISA 2006 blocks GMAIL
iPhone will not sync wil Exchange 2003
VARCHAR(MAX) & VARBINARY(MAX) from php
gpresult returns ERROR: Not found. Any suggestions?
Windows Vista won't recognize CD or DVD disks.