BIN

s = BIN (x)

Returns the binary value of x as string.

Example

print hex(255)      ' output: FF
print bin(8)        ' output: 1000
print oct(16)       ' output: 20
String
If there is insufficient information on this page and you wish learn more about BIN, please send an email to smallbasic@gmail.com. You can help to improve information about BIN by submitting a pull request, click View Source for details. Note, an offline language reference text file is also available - see the Download section.