Difference between revisions of "Div/fr"

From Free Pascal wiki
Jump to navigationJump to search
(Remove superfluous call to inttostr())
(Use pascal highlighter)
 
Line 4: Line 4:
  
 
Example:
 
Example:
<syntaxhighlight>
+
<syntaxhighlight lang=pascal>
 
var
 
var
 
i,j:integer;
 
i,j:integer;

Latest revision as of 17:17, 29 January 2020

Deutsch (de) English (en) español (es) suomi (fi) français (fr) русский (ru)

Div est la division entière, ses opérandes et son résultat sont des entiers.

Example:

var
i,j:integer;
begin
  i:=16;
  j:=3;
  writeln(i div j);
end;

See also