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
Quick Batch File Rename Question
Batch File to dump list of Hostnames to IP Addresses
unable to make MDE file
Cretaing a Union
Windows 7 Printer Driver Issues With HP LJ 1320 Series
combining word document with access report
Excel VBA email - Outlook dialog box pop asking permission
SharePoint List: How to add google maps location
How do you change the default username for default SQL Trace
Data Sychronization Strategy