Hi All,

I need a quick answer, I have a function that returns a double, the formula becomes super small and eventually becomes less tan 10^-308, and then it returns NaN instead of 0, Once my function is ~10^-10 for my purposes is zero, How do I get it to return 0 if it's less than a certain value or if it is NaN I would like to to return 0. Thanks