Home > lang > bin 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Search  Administration  
Documentation  
Warning! This page is not translated.  See english version 
Bin$
String = Bin$ ( Number AS Long [ , Digits AS Integer ] ) AS String

Gets the binary representation of a number.

If Digits is specified, the representation is padded with unnecessary zeros so that Digits digits are returned.

Example

PRINT Bin$(77)

1001101

PRINT Bin$(77, 16)

0000000001001101

See also

Formatting functions