AMOSi:Bin$

From Amiga Coding
Revision as of 02:45, 17 November 2007 by Spellcoder (talk | contribs) (Extracted from the AMOSPro V2.00 helpfile)
Jump to: navigation, search

an example can be found on AMOSPro_Examples:Examples/H-5/Help_56.AMOS


Converts a decimal number into an appropriate string of BINary digits


These digits are limited to one of the two values "0" and "1"


=Bin$(number)

Returns the binary number using the fewest possible digits.


=Bin$(number,n)

Returns the first n digits in the number.