Skip to content
Narta Xaymar Dirks edited this page Oct 28, 2026 · 6 revisions

Blitz3DBlitzPlusBlitzBasic

Bin

Bin:String value:Int32
Parameter Mode Type Default Description
value In Int32 required The number to convert.

Returns: A string of 32 digits, 0 and 1.

Description

Turns a number into its binary digits. The result always has 32 digits, so negative numbers show their two's complement form.

Examples

Print Bin$(5)
00000000000000000000000000000101

Related Commands

Asc, Chr, Hex

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally