Javascript Number hex()

Description

Javascript Number hex()


// helper functions

Number.prototype.hex = function () {
 return "0x" + this.toString(16);
};



PreviousNext

Related