Post History
J, 2 bytes */ Try it online! For complex numbers with 0 as the second part, J will represent them as ints, but they are treated the same.
Answer
#1: Initial revision
# [J](https://www.jsoftware.com/#/), 2 bytes ``` */ ``` [Try it online!](https://tio.run/##y/r/PzU5I19BR09LX8lQwzjLRMEkK95UQUch3iTLUsEoK94IwQYzjbMMFAwNgISOlYJBliEIa/7/DwA) For complex numbers with `0` as the second part, J will represent them as ints, but [they are treated the same.](https://tio.run/##y/r/PzU5I19Bw9Agy1BBW8HQQFMHiZNloPn/PwA)