Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java format zero padded binary

String.format("%16s", Integer.toBinaryString(1)).replace(' ', '0')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #format #padded #binary
ADD COMMENT
Topic
Name
5+8 =