JS: Decimal and Hexadecimal
This is pretty interesting how you can convert not just standard decimal or hexadecimal numbers but any number with a base between 2 and 32. Here’s how: var myDecimalNum = 10; myDecimalNum.toString(16); // result : a var myHexNum = "a"; parseInt...
Jul 22, 20161 min read7
