Previous: 4.66.2.21. HexVal function To the Table of Contents Next: 4.66.2.23. IntToHex function
4.66.2.21. HexVal function Table of Contents 4.66.2.23. IntToHex function

- 4.66.2.22. -
Table of Contents
4. Standard Units
4.66. Strings - Large string manipulation unit
4.66.2. Strings Unit Procedures and Functions
4.66.2.22. IntToBin function


4.66.2.22. 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: 4.66.2.21. HexVal function To the Table of Contents Next: 4.66.2.23. IntToHex function
4.66.2.21. HexVal function Table of Contents 4.66.2.23. IntToHex function

- 4.66.2.22. -