Click here to Skip to main content
16,020,424 members
Home / Discussions / C#
   

C#

 
AnswerRe: mystery NaN Pin
Pete O'Hanlon30-Nov-11 23:00
mvePete O'Hanlon30-Nov-11 23:00 
GeneralRe: mystery NaN Pin
stegzzz30-Nov-11 23:17
stegzzz30-Nov-11 23:17 
GeneralRe: mystery NaN Pin
Pete O'Hanlon30-Nov-11 23:55
mvePete O'Hanlon30-Nov-11 23:55 
GeneralRe: mystery NaN Pin
stegzzz1-Dec-11 0:09
stegzzz1-Dec-11 0:09 
GeneralRe: mystery NaN Pin
Pete O'Hanlon1-Dec-11 0:47
mvePete O'Hanlon1-Dec-11 0:47 
GeneralRe: mystery NaN Pin
harold aptroot1-Dec-11 0:48
harold aptroot1-Dec-11 0:48 
GeneralRe: mystery NaN Pin
stegzzz1-Dec-11 5:25
stegzzz1-Dec-11 5:25 
GeneralRe: mystery NaN Pin
harold aptroot1-Dec-11 5:33
harold aptroot1-Dec-11 5:33 
Are there other variables named NC or NY that you or the debugger might confuse for each other? That is often what goes wrong.
Or is there any threading going on that might change NX or NY?

I'd put a break on the line that does the calculation, and hover over the various parts of the expression there (instead of looking in the locals window).

Btw, I get the expected result of S = 0.5
QuestionAsp.Net nested Accordion menu Pin
Balakrishnan Dhinakaran30-Nov-11 19:31
professionalBalakrishnan Dhinakaran30-Nov-11 19:31 
AnswerRe: Asp.Net nested Accordion menu Pin
Richard MacCutchan30-Nov-11 22:34
mveRichard MacCutchan30-Nov-11 22:34 
AnswerRe: Asp.Net nested Accordion menu Pin
#realJSOP1-Dec-11 1:59
professional#realJSOP1-Dec-11 1:59 
Questionhow to make a web page? Pin
nik_utm30-Nov-11 15:54
nik_utm30-Nov-11 15:54 
AnswerRe: how to make a web page? Pin
Richard MacCutchan30-Nov-11 22:35
mveRichard MacCutchan30-Nov-11 22:35 
GeneralRe: how to make a web page? Pin
nik_utm1-Dec-11 14:47
nik_utm1-Dec-11 14:47 
QuestionC# remoting server and client problem Pin
kornkimhour30-Nov-11 15:13
kornkimhour30-Nov-11 15:13 
AnswerRe: C# remoting server and client problem Pin
Richard MacCutchan30-Nov-11 22:32
mveRichard MacCutchan30-Nov-11 22:32 
QuestionSQL Server and C# Pin
john john mackey30-Nov-11 10:42
john john mackey30-Nov-11 10:42 
AnswerRe: SQL Server and C# Pin
PIEBALDconsult30-Nov-11 10:55
mvePIEBALDconsult30-Nov-11 10:55 
GeneralRe: SQL Server and C# Pin
john john mackey30-Nov-11 12:28
john john mackey30-Nov-11 12:28 
GeneralRe: SQL Server and C# Pin
PIEBALDconsult30-Nov-11 14:56
mvePIEBALDconsult30-Nov-11 14:56 
AnswerRe: SQL Server and C# Pin
Mycroft Holmes30-Nov-11 17:01
professionalMycroft Holmes30-Nov-11 17:01 
GeneralRe: SQL Server and C# Pin
john john mackey1-Dec-11 11:01
john john mackey1-Dec-11 11:01 
AnswerRe: SQL Server and C# Pin
BobJanova1-Dec-11 1:46
BobJanova1-Dec-11 1:46 
GeneralRe: SQL Server and C# Pin
john john mackey1-Dec-11 11:23
john john mackey1-Dec-11 11:23 
AnswerRe: SQL Server and C# Pin
jschell1-Dec-11 13:50
jschell1-Dec-11 13:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.