You are here: Symbol Reference > _AbProc Namespace > Functions > AbSingleToBin Function
ContentsIndexHome
PreviousUpNext
_AbProc.AbSingleToBin Function
Send Feedback

Function AbSingleToBin converts a single value to a binary string

File
Pascal
function AbSingleToBin(Value: Single; Digits: Integer): String;
C++
AnsiString AbSingleToBin(Single Value, int Digits);
Parameters
Parameters 
Description 
Value: Single 
The Value to convert 
Digits: Integer 
Number of digits (1..32, 0= no leading zero's) 
Returns

Binary string

Description

With AbSingleToBin you can convert any single value to a binary string. With the Digits parameter you adjust the number of digits in the resulting string. With digits = 0 the result string will not contain leading zeros.

Hard-& Software A.Baecker
What do you think about this topic? Send feedback!