Node: div, Next: do, Previous: Dispose, Up: Reference

### div

#### Synopsis

         operator div (p, q: Integer) = r: Integer;

#### Description

Integer division operator.

#### Conforming to

`div` is defined in ISO 7185 Pascal and supported by all known Pascal variants.

#### Example

         program DivDemo;

         var
           a, b: Integer;

         begin
           a := 16;
           b := 7;
           WriteLn (a div b);  { `2' }
         end.

#### See also

Keywords.