Syntax
bin(number)
Description
The bin() function returns the binary equivalent of a given number.
Example
println(bin(25)) println(bin(0xff)) 0b11001 0b11111111
bin(number)
The bin() function returns the binary equivalent of a given number.
println(bin(25)) println(bin(0xff)) 0b11001 0b11111111