Waseem I. Waseem I. - 1 year ago 412
Javascript Question

Convert to string nodejs

0xc4115 0x4cf8

Im not sure what data type this is so my question would be:

What data type is this and how can I convert it to something more manageable using NODE.JS?

Answer Source

you can convert Hexadecimal to Decimal by this

let hex_num = "0xc4115";
console.log(Number(hex_num)); #803093
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download