What is the function to convert a number into its binary code? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
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 Antworten
+ 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