Number
.
toBinaryString()
Signature
String toBinaryString (int i)
Domain
action, condition
Description
Return a String containing the binary representation of the int passed.
Parameters
Name
Type
Description
i
int
An int to convert to a binary String.
Returns
Type
Description
String
A String containing the binary representation of the int passed.
Cautions
none
Example
String result = Number.toBinaryString (57);
Result is: result contains: "111001"