I have a business class that contains two nullable decimal properties. A third property returns the result of multiplying the other two properties. If HasValue is true for t
To resolve NAN & Infinity use this
if (Double.IsNaN(YourValue) || Double.IsInfinity(YourValue)) { YourValue = 0; }