We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 212972b commit 1d5bea7Copy full SHA for 1d5bea7
_build/reference/780-string-hex.markdown
@@ -4,4 +4,10 @@
4
5
Returns the hexadecimal value of x as string.
6
7
+### Example
8
9
+```
10
+print hex(255) ' output: FF
11
+print bin(8) ' output: 1000
12
+print oct(16) ' output: 20
13
0 commit comments