A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

function TForm1.IntToBinary(Int: Integer;Digits: Byte): string;

const CONVERT:array[0..1] of Char = '01';

var cnt: Integer;

begin

SetLength(Result, Digits);

for cnt := Digits downto 1 do begin

Result[cnt] := CONVERT[Abs(Int) mod 2];

Int := Int shr 1;

end;

end;

ziolko.