上面写的那个K好象已经越界了, 换一下:
var
i,j,k:integer;
begin
i:=$24567890;
j:=$34567890;
k:=$44567890;
ShowMessage('i*j div k = ' + IntToHex(i*j div k,16));
ShowMessage('int64(i*j) div k = ' + IntToHex(int64(i*j) div k,16));
ShowMessage('int64(i)*j div k = ' + IntToHex(int64(i)*j div k,16));
ShowMessage('QGraphics.muldiv(i,j,k) = ' + IntToHex(QGraphics.muldiv(i,j,k),16));
ShowMessage('round(int64(i)*j / k) = ' + IntToHex(round(int64(i)*j / k),16));
ShowMessage('Windows.muldiv(i,j,k) = ' + IntToHex(Windows.muldiv(i,j,k),16));