Converts an integer expression to a binary string representation.
Bin[$](m[,n])
After conversion the binary representation of integer expression m is returned as a plain string.
The parameter n is optional and determines how many places (1 to 33) should be used to represent the number. If n is greater than the number of places needed to represent m the converted number is padded with leading zeros.
OpenW # 1
Print Bin$(17) // Prints 10001
Print Bin$(25, 6) // Prints 011001
Without the optional $ character the function still returns a String data type and not a Variant.
String, Oct$(), Hex$(), Dec$()
{Created by Sjouke Hamstra; Last updated: 24/09/2014 by James Gaite}