# Wolfram Language & System 10.4 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.
WOLFRAM LANGUAGE INTERPRETER TYPE

# "ComplexNumber" (interpreter type)

Complex number in a standard format.

## Allowed FormsAllowed Forms

• The real and imaginary parts can be in the number formats allowed by "Number".

## Restriction SpecificationsRestriction Specifications

•  Restricted["ComplexNumber",{{choice1,…}}] one among choices Restricted["ComplexNumber",region] a complex number within a region of the complex plane Restricted["ComplexNumber",Automatic,n] a complex number with n-digit precision

## OptionsOptions

• The following options can be used for the real and imaginary parts:
•  DigitBlock Infinity number of digits between breaks NumberPoint "." decimal point string NumberSeparator {",",""} string to insert at breaks between blocks NumberSigns {"-",""} strings to use for signs of negative and positive numbers

## ExamplesExamplesopen allclose all

### Basic Examples  (5)Basic Examples  (5)

Interpret complex numbers:

 In[1]:=
 Out[1]=
 In[2]:=
 Out[2]=

Use the options to customize the number format:

 In[1]:=
 Out[1]=
 In[2]:=
 Out[2]=
 In[3]:=
 Out[3]=

Restrict the result to the unit circle:

 In[1]:=
 Out[1]=
 In[2]:=
 Out[2]=

Restrict the result to any region of the complex plane:

 In[1]:=
 Out[1]=
 In[2]:=
 Out[2]=

Set the precision:

 In[1]:=
 Out[1]=

Otherwise, \$MachinePrecision is implied:

 In[2]:=
 Out[2]=