Manuals/calci/ENFORCECOMPLEX
ENFORCECOMPLEX()
Description
- This function converts or enforces the given number to the complex number.
- A complex number is a combination of a real and an imaginary number.
- A number which is positive or negative, rational or irrational or decimals are called real numbers.
- A complex number is a number is in the form , where and are real numbers and is the imaginary unit. Where .
- So this function converts the string complex number in to the Complex Number.
Examples
- ENFORCECOMPLEX("2+3i") = 2+3i
- ENFORCECOMPLEX("9-2j") = 9-2j
- ENFORCECOMPLEX("8i") = 8i
- ENFORCECOMPLEX("65") = 65
See Also
References