Created
April 24, 2016 17:32
-
-
Save eeropic/d1cbcfa7ae8a1c12ce92c552f3f4b335 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function toHex(d) { | |
return ("0"+(Number(d).toString(16))).slice(-2).toUpperCase() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment