首页 > lang > bin 
 en fr de es it nl pl pt pt_BR mk sq ca hu cs tr ar fa id vi ko ja ru zh eo
前一个  下一个  编辑  重命名  撤销  搜索  管理  
文档  
警告! 该页面未翻译。  参见英文版 
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

参见

Formatting functions