Posted by *Geof*

In Reply to Convert ASCii posted by *freddyarimbi*

: is there any function in Delphi that can convert from dec into binary code? please help

Delphi has the built-in functions IntToStr (returns a string that is the decimal representation of a number) and IntToHex (returns a string that is the hexadecimal representation of a number). But alas, Delphi has no "IntToBinary" function.

You'll have to write the function yourself ;)

Or otherwise, search the
Net for a library that contains such a function. :-p

Follow Ups

Re: Convert number to binary notation Bill DelphiMan