I have a List<double> MyList something looking like this: 4.75/1.01/5.66/NaN/42.42/3.33
I’d like to get the minimum value of 1.01 out of it, but I get d = NaN when doing double d = MyList.Min(); Tried, after some long internet strolls, something with LINQ to no avail.
Some LINQ afictionados around here, who can help me out?
As always, my gratitude will be immense.
To clarify the NegativeInfinity issue a bit. I harvested(scrape is such an ugly word) a table from a website. One column (which I'm interested in) had some real strings and some empty cells. I changed the empty cells to NaN. So no NegativeInfinity issue here. I'd just like to do some statistics on my list. Don't no if this is the right way to go, perhaps I better remove the NaN cells...
Hi I'm having a problem implementing a mini shopping cart drop down in the header to show the user all the products they have in their shopping cart. It seems the only solution for this is Ajax, and I've looked all over and can't find anything that I could possibly ...
Help! I want to create a java program that finds the highest even integer among the values entered by the user. Stop asking values when a value less than 1 have been entered. If no even integer is entered, display "No Even Integer"