Difference between revisions of "Manuals/calci/ENFORCECOMPLEX"
Jump to navigation
Jump to search
(Created page with "<div style="font-size:30px">'''ENFORCECOMPLEX()'''</div><br/> ==Description== *This function converts or enforces the given number to the complex number. *A complex number i...") |
|||
Line 9: | Line 9: | ||
==Examples== | ==Examples== | ||
+ | # ENFORCECOMPLEX("2+3i") = 2+3i | ||
+ | # ENFORCECOMPLEX("9-2j") = 9-2j | ||
+ | # ENFORCECOMPLEX("8i") = 8i | ||
+ | # ENFORCECOMPLEX("65") = 65 | ||
==See Also== | ==See Also== |
Revision as of 14:56, 23 August 2017
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