Previous: HexVal function To the Table of Content Next: IntToHex function

- 4.61.2.22 -
Standard Units
Strings Unit
Strings Unit Procedures and Functions

IntToBin function

Targets: MS-DOS, OS/2, Win32


Strings Unit

Returns the bin representation of an integer.

Declaration:
function IntToBin(Value: Longint; Digits: DWORD): String;
function IntToBin(Value: Int64; Digits: DWORD): String;
Remarks:
The IntToBin function converts a number into a string containing the number's binary (base 2) representation. Value is the number to convert. Digits indicates the number of binary digits to return.


Previous: HexVal function To the Table of Content Next: IntToHex function
HexVal function Table of Content IntToHex function

- 4.61.2.22 -