Bin$()

Last Modified: 9/4/2021

Converts a numerical value into into binary and stores the value in a String variable.

Arguments

NameTypeRequiredDescription
Number Integer, Long, Constant Yes The numerical value or non-String variable to convert to binary.

Example

Syntax: Bin$(<Number>)
    b$ = Bin$(16)
    Print b$

See Also

Asc(), Chr$(), Hex$(), Str$(), Val()