Click here to Skip to main content
15,891,633 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Oooh Heck!! Pin
Nagy Vilmos2-Oct-16 21:34
professionalNagy Vilmos2-Oct-16 21:34 
GeneralRe: Oooh Heck!! Pin
Sander Rossel2-Oct-16 21:58
professionalSander Rossel2-Oct-16 21:58 
GeneralRe: Oooh Heck!! Pin
Mycroft Holmes2-Oct-16 22:57
professionalMycroft Holmes2-Oct-16 22:57 
GeneralRe: Oooh Heck!! Pin
dan!sh 3-Oct-16 1:09
professional dan!sh 3-Oct-16 1:09 
GeneralRe: Oooh Heck!! Pin
MarkTJohnson3-Oct-16 2:28
professionalMarkTJohnson3-Oct-16 2:28 
GeneralWhat the NaN? Pin
Sander Rossel2-Oct-16 5:45
professionalSander Rossel2-Oct-16 5:45 
GeneralRe: What the NaN? Pin
Richard MacCutchan2-Oct-16 6:01
mveRichard MacCutchan2-Oct-16 6:01 
GeneralRe: What the NaN? Pin
Sander Rossel2-Oct-16 6:12
professionalSander Rossel2-Oct-16 6:12 
I know, so always treat it as smallest value, or always as biggest value or, better yet, throw an exception when comparing it to numbers.
These results are contradictory and just don't make any sense at all! Unsure | :~

If this was JavaScript I'd be okay with it, but we're talking C# here. I expected better from C# Sigh | :sigh:
Read my (free) ebook Object-Oriented Programming in C# Succinctly.
Visit my blog at Sander's bits - Writing the code you need.
Or read my articles here on CodeProject.
Simplicity is prerequisite for reliability.
— Edsger W. Dijkstra
Regards,
Sander

GeneralRe: What the NaN? Pin
Florian Rappl2-Oct-16 6:42
professionalFlorian Rappl2-Oct-16 6:42 
GeneralRe: What the NaN? Pin
Sander Rossel2-Oct-16 8:34
professionalSander Rossel2-Oct-16 8:34 
GeneralRe: What the NaN? Pin
Florian Rappl2-Oct-16 20:17
professionalFlorian Rappl2-Oct-16 20:17 
GeneralRe: What the NaN? Pin
Richard MacCutchan2-Oct-16 6:52
mveRichard MacCutchan2-Oct-16 6:52 
GeneralRe: What the NaN? Pin
Sander Rossel2-Oct-16 8:44
professionalSander Rossel2-Oct-16 8:44 
GeneralRe: What the NaN? Pin
Mladen Janković2-Oct-16 9:54
Mladen Janković2-Oct-16 9:54 
GeneralRe: What the NaN? Pin
Sander Rossel2-Oct-16 10:13
professionalSander Rossel2-Oct-16 10:13 
GeneralRe: What the NaN? Pin
Mladen Janković2-Oct-16 10:24
Mladen Janković2-Oct-16 10:24 
GeneralRe: What the NaN? Pin
Sander Rossel2-Oct-16 11:05
professionalSander Rossel2-Oct-16 11:05 
GeneralRe: What the NaN? Pin
Mladen Janković2-Oct-16 12:33
Mladen Janković2-Oct-16 12:33 
GeneralRe: What the NaN? Pin
Richard MacCutchan2-Oct-16 22:41
mveRichard MacCutchan2-Oct-16 22:41 
GeneralRe: What the NaN? Pin
Sander Rossel2-Oct-16 22:51
professionalSander Rossel2-Oct-16 22:51 
GeneralRe: What the NaN? Pin
Richard MacCutchan2-Oct-16 22:54
mveRichard MacCutchan2-Oct-16 22:54 
GeneralRe: What the NaN? Pin
Sander Rossel2-Oct-16 23:20
professionalSander Rossel2-Oct-16 23:20 
GeneralRe: What the NaN? Pin
Richard MacCutchan2-Oct-16 23:30
mveRichard MacCutchan2-Oct-16 23:30 
GeneralRe: What the NaN? Pin
Sander Rossel3-Oct-16 6:00
professionalSander Rossel3-Oct-16 6:00 
GeneralRe: What the NaN? Pin
Richard MacCutchan3-Oct-16 6:21
mveRichard MacCutchan3-Oct-16 6:21 

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.