double SampleInterval = (PopulationValue - valueOfSignItems) / (SampleSize - noOfSignItems);
if my divisor = 0, sampleInterval wil bcom infinity and it will be = NaN if both dividend and divisor are = 0
i need to do my code when SampleInterval = infinity and in another context when SampleInterval = NaN. How it is possible..?? can any one tel me how can i compare a decinmal value to infinity or to NaN.?