New answers tagged

0

Surely the simplest way to do this is just to check whether the imaginary part is zero: Im[z] == 0 This will return true if z is a real number and false if z is complex.



Top 50 recent answers are included