[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

## 9.111 Im

### Synopsis

    function Im (z: Complex): Real;

### Description

``Im'` extracts the imaginary part of the complex number ``z'`. The result is a real value.

### Conforming to

``Im'` is an ISO-10206 Extended Pascal extension.

### Example

    program ImDemo;
    var
      z: Complex;
    begin
      z := Cmplx (1, 2);  { 1 + i * 2 }
      WriteLn (Im (z) : 0 : 5)  { 2.00000 }
    end.

### See also

section 9.45 Cmplx, section 9.217 Re, section 9.13 Arg.

This document was generated by Frank Heckenbach on May, 10 2002 using texi2html