From Clomosy Docs

The Div keyword gives the whole number result of dividing the Dividend by the Divisor. Any remainder is discarded.


Example

var
   intValue : Integer;
 
{
   // Divide a primary integer by 2 - it discards the remainder
   intValue = 27 Div 2;
 
   ShowMessage('27 div 2 = '+IntToStr(intValue));
}

Output:

See Also