Sign in Join
Wiki copytemporary

Revision 1 of 2, by Bart on 1-29-2020. The page as it is now.

Div/de


Zurück zu den reservierten Wörtern.
Zurück zu den Operatoren.

Das reservierte Wort <b>div</b> gehört zu den Operatoren.
Das reservierte Wort <b>div</b> dient der Division ganzer Zahlen.
Das reservierte Wort <b>div</b> liefert als Ergebnis ganze Zahlen.

Das Ergebnis wird immer abgerundet.
Beispiel:\

pascal
var
  intI : Integer;
begin
  ...
  intI := 8 Div 3; // Der Operator Div führt nur Divisionen mit Ganzzahlen durch.
                   // Das Ergebnis ist immer eine Ganzzahl
  ...
end;


Siehe auch:


--Olaf 17:22, 6 November 2012 (UTC)


From the Free Pascal wiki, page "Div/de", as it stood on 2020-01-29 after a change by Bart, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.