help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions] Reference for unit 'math' (#rtl)

DivMod

Return DIV and MOD of arguments

Declaration

Source position: line 0

procedure DivMod(

  Dividend: Integer;

  Divisor: Word;

  var Result: Word;

  var Remainder: Word

);

procedure DivMod(

  Dividend: Integer;

  Divisor: Word;

  var Result: SmallInt;

  var Remainder: SmallInt

);

Description

DivMod returns Dividend DIV Divisor in Result, and Dividend MOD Divisor in Remainder

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505