Converta Da Decimale Um JavaScript Hex

//hex <- int:
hexString = yourNumber.toString(16);

//int <- hex:
yourNumber = parseInt(hexString, 16);
fa.moso