Documentation/Calc Functions/IMREAL/en

Function name:
IMREAL

Category:
Add-in

Summary:
Extracts the real part of a complex number.

Syntax:
IMREAL(ComplexNumber)

Returns:
Returns a real number which is the real part of the complex number passed as argument.

Arguments:
ComplexNumber is a string (in quotation marks) representing a complex number in the form a+bi or a+bj, or a reference to a cell containing that string, whose real part is to be extracted. a and b are real numbers.


 * If ComplexNumber is not a valid complex number, IMREAL reports an invalid argument error (Err:502).

Details specific to IMREAL function
For a complex number of the form a+bi or a+bj, the IMREAL function extracts and returns the value a.

Related LibreOffice functions:
IMABS

IMAGINARY

IMARGUMENT

ODF standard:
Section 6.8.19, part 2

Equivalent Excel functions:
IMREAL