Files
harbour-core/contrib/hbnf/doc/en/dectobin.txt
vszakats 9687850865 2013-03-16 02:10 UTC+0100 Viktor Szakats (harbour syenar.net)
* (all files)
    * stripped svn header
    * minor cleanups
    ; use following command to find out the history of files:
       git log
       git log --follow
       git blame
       git annotate
2013-03-16 02:11:42 +01:00

23 lines
542 B
Plaintext

/* $DOC$
$NAME$
ft_Dec2Bin()
$CATEGORY$
Conversion
$ONELINER$
Convert decimal to binary
$SYNTAX$
ft_Dec2Bin( <nNum> ) -> cBinaryNumber
$ARGUMENTS$
<nNum> is the numeric expression to be converted.
$RETURNS$
A character string representing <nNum> in binary format.
$DESCRIPTION$
This function can be used in conjunction with any bit-wise
operations.
$EXAMPLES$
? ft_Dec2Bin( 255 ) // "11111111"
? ft_Dec2Bin( 2 ) // "00000010"
$END$
*/