Creates a character string which represents the integer as a binary number. The character string is filled-up with leading 0 characters until the length of <length>. If the result is already larger than <length>, the result will not be affected. Is equivalent to asString(2, length).
asBinaryString(Integer length) | ||||
---|---|---|---|---|
Arguments | Integer | length | Length of the binary | |
Return value | String |
Formula | Result |
---|---|
=12.asBinaryString(5) | 01100 |