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
Compile Error: Object Required
Mail merge selected records into Word
Populate missing values in specific Excel worksheet and import into Access
Powerpoint slide numbering - start on page 3 as page number 1, question re-posted
One to one relationship Access 2003 and a dlookup
Help with GPEDIT.MSC
How to supress blank page
Convert/Compile Excel Sheets to Portable EXE
SSIS Connection Manager
Can files be copied programatically from SharePoint to another file system?