Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

change base js

//(number).toString(base);
(34).toString(2);
//'100010'
(255).toString(16).padStart(8, "0");
//'000000ff'
 
PREVIOUS NEXT
Tagged: #change #base #js
ADD COMMENT
Topic
Name
4+1 =