Difference between revisions of "Div/fr"

From Free Pascal wiki
Jump to navigationJump to search
(Use pascal highlighter)
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
  
 
Example:
 
Example:
<syntaxhighlight>
+
<syntaxhighlight lang=pascal>
 
var
 
var
 
i,j:integer;
 
i,j:integer;
Line 10: Line 10:
 
   i:=16;
 
   i:=16;
 
   j:=3;
 
   j:=3;
   writeln(inttostr(i div j));
+
   writeln(i div j);
 
end;
 
end;
 
</syntaxhighlight>
 
</syntaxhighlight>

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