0

What is the function to convert a number into its binary code?

22nd Aug 2018, 1:29 PM
sravani reddy
sravani reddy - avatar
2 ответов
+ 5
Integer.toString(100,2) Integer.toBinaryString(100)
22nd Aug 2018, 2:01 PM
Mert Yazıcı
Mert Yazıcı - avatar
+ 1
Integer.toString(number, 2);
22nd Aug 2018, 2:12 PM
Steppenwolf
Steppenwolf - avatar