Number.toBinaryString()
Signature
String toBinaryString (int i)
Domain
action, condition, query
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. |
Example
String result = Number.toBinaryString (57);
Result is: result contains: "111001".