2.0.0 • Published 9 years ago
dec-to-hex v2.0.0
dec-to-hex
convert decimal (base 10) numbers to hexidecimal
I wrote this as an exercise. A better solution is.
let dec = 255;
let hex = dec.toString(16);
convert decimal (base 10) numbers to hexidecimal
I wrote this as an exercise. A better solution is.
let dec = 255;
let hex = dec.toString(16);