Difference between revisions of "Manuals/calci/ENFORCECOMPLEX"

From ZCubes Wiki
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 15: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

  1. ENFORCECOMPLEX("2+3i") = 2+3i
  2. ENFORCECOMPLEX("9-2j") = 9-2j
  3. ENFORCECOMPLEX("8i") = 8i
  4. ENFORCECOMPLEX("65") = 65

See Also


References