"ComplexNumber" (interpreter type)

Complex number in a standard format.

DetailsDetails

Allowed FormsAllowed Forms

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

Restriction SpecificationsRestriction Specifications

OptionsOptions

  • The following options can be used for the real and imaginary parts:
  • DigitBlockInfinitynumber 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  (3)Basic Examples  (3)

Interpret complex numbers:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Use the options to customize the number format:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=

Set the precision:

In[1]:=
Click for copyable input
Out[1]=

Otherwise, $MachinePrecision is implied:

In[2]:=
Click for copyable input
Out[2]=