Hi everyone,

How do I detect when the answer to a sum is infinity? I need to implement it into the following code:

Code:
if (Number == (Infinity))
    MessageBox(hwnd, "Enter a number above zero.", "Error", MB_OK);
    break;
It is a division sum.

Thanks.