# IMREAL

Spread for WinForms provides advanced software components that support Excel import/export, full cell customization, an extensive calculation engine with over 450 functions and more, all with zero dependencies on Excel.

## Content



This function returns the real coefficient of a complex number in the x+yi or x+yj text format.

## Syntax

IMREAL(*complexnum*)

## Arguments

The *complexnum* argument is a complex number for which to return the real coefficient.

## Remarks

An error is returned if the *complexnum* argument is not in the form "x+yi" or "x+yj". For more information, refer to [Complex Numbers in Engineering Functions](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functsengineer/formulas-complexnumbers).

## Data Types

Accepts number and string data. Returns number data.

## Examples

`IMREAL("2-5j")`

## Version Available

This function is available in product version 2.0 or later.

## See Also

[COMPLEX](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsAtoC/FunctionCOMPLEX) \| [IMAGINARY](/spreadnet/docs/latest/online-formula/formulas-functionsall/formulas-functsFtoK/FunctionIMAGINARY) \| [Engineering Functions](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functsengineer) \| [Complex Numbers in Engineering Functions](/spreadnet/docs/latest/online-formula/formulas-overview/formulas-functs/formulas-functtypes/formulas-functsengineer/formulas-complexnumbers)