Słuchajcie, mam taką funkcję, która zamienia liczbę w systemie dziesiętnym na liczbę w systemie dwójkowym:
function IntToBin(Value: Longint; Digits: Integer): string;
var
i: Integer;
begin
Result := '';
for i := Digits downto 0 do
if Value and (1 shl i) <> 0 then
Result := Result + '1'
else
Result := Result + '0';
end;
Słuchajcie, co z tym zrobić, żeby tez liczyło mi liczby po przecinku?