Converting decimal to hexa



examples/js/hexa.js
"use strict";

var a = 16;
console.log(a.toString(16)); // 10

var b = 129;
console.log(b.toString(16)); // 81

var a = 190;
console.log(a.toString(16)); // be

var a = 190;
console.log(a.toString(16).toUpperCase()); // BE