Converting an int to a binary string representation in Java?
- by ttreat31
What would be the best way (ideally, simplest) to convert an int to a binary string representation in Java?
For example, say the int is 156. The binary string representation of this would be "10011100".