dec2hex
dec2hex(x) ⇒ string
Convert a decimal value to hex
Kind: global function
Returns: string - zero-padded value, for example instead of "0", will return "00" and instead of "F" will return "0F"
| Param | Type | Description |
|---|---|---|
| x | number | generally expects b byte value, 0-255 |