Strong Root

1
2
3
4
5
var myNumber = 128;
 
myNumber.toString(16);    // returns 80
myNumber.toString(8);    // returns 200
myNumber.toString(2);    // returns 10000000
cs






출처 : http://www.w3schools.com/js/js_numbers.asp