Complex
The Complex data type uses imaginary literals.
Examples of valid complex numbers:
- i
- 3.3i
- 3.3j
- 5.0E2I
- 6.23J
Examples of invalid complex numbers:
- 2 i (must be no space between the numeric literal and the i)
- i3 (the numeric literal must precede the i)