Beautifully simple way to get a hex value from a number. Note that
d is a number. If you want a string as a hex XML valid code, use:
'&#x' + parseInt(number).toString(16).toUpperCase() + ';'
NewCommand line for non-techies
I've published 37 videos for new developers, designers, UX, UI, product owners and anyone who needs to conquer the command line today.