I'm working with a complex number math library, where a complex number is represented by an object with two properties: `real` and `imag`, where `real` represents a real number, and `imag` represents the coefficient in front of the imaginary number.
Will it be fair to say that if `imag` is set to 0, then the object represents a real number, e.g. $a + i0$, where $a$ is the number represented by `real`?