Difference between revisions of "Documentation/How Tos/Calc: IMREAL function"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Initial content)
 
(Syntax:: italics)
Line 9: Line 9:
 
=== Syntax: ===
 
=== Syntax: ===
 
<tt>'''IMREAL(complexnumber)'''</tt>
 
<tt>'''IMREAL(complexnumber)'''</tt>
: <tt>'''complexnumber'''</tt> is text representing a complex number, for example as <tt>'''a+bi'''</tt> or <tt>'''a+bj'''</tt>, where <tt>'''a'''</tt> is the real part and <tt>'''b'''</tt> the imaginary part.
+
: <tt>'''complexnumber'''</tt> is text representing a complex number, for example as <tt>'''<i>a</i>+<i>bi</i>'''</tt> or <tt>'''<i>a</i>+<i>bj</i>'''</tt>, where <tt>'''<i>a</i>'''</tt> is the real part and <tt>'''<i>b</i>'''</tt> the imaginary part.
  
 
:<tt>'''IMREAL'''</tt> returns the real part as a number.
 
:<tt>'''IMREAL'''</tt> returns the real part as a number.

Revision as of 21:02, 22 February 2008


IMREAL

Returns the real part of a complex number.

This function is only available if the Analysis AddIn is installed.

Syntax:

IMREAL(complexnumber)

complexnumber is text representing a complex number, for example as a+bi or a+bj, where a is the real part and b the imaginary part.
IMREAL returns the real part as a number.

Example:

IMREAL("4+3i")

returns 4.

See also:

IMAGINARY, COMPLEX

Complex Number functions

Issues:

  • This function currently appears in the AddIn category of the Function Wizard.
Personal tools