This is the documentation for the development version.
There are no official binaries for it; build it from the source code in git.
Download links on these pages work only after the release.
For the current release, see version 7.0.
d2x
- d2x(number, padding=0): String
-
Convert decimal
numberto hex string with optional left-padding with zeroes.Table 1. Parameters number
Input value.
padding
Optional argument specifying target string length.
ReturnHex string.
>>> d2x(1234) 4D2 >>> d2x(1234, 8) 000004D2