This language bar is your friend. Select your favorite languages!

Idiom #142 Hexadecimal digits of an integer

Assign to string s the hexadecimal representation (base 16) of integer x.

E.g. 999 -> "3e7"

#Edit dateEdit SummaryEditor
👁 Δ 34 2019-10-02, 07:27 New Erlang implementation by user [nopeslide] nopeslide
👁 Δ 33 2019-09-26, 22:51 New Elixir implementation by user [micmus] micmus
👁 Δ 32 2019-09-26, 22:21 [PHP] Remove opening tag; not required for this website's syntax highlighting ancarda
👁 Δ 31 2019-09-26, 21:09 [Haskell] Remove boilerplate leif
👁 Δ 30 2019-09-26, 20:46 New Fortran implementation by user [tkoenig] tkoenig
👁 Δ 29 2019-09-26, 20:46 [Clojure] wrong language tkoenig
👁 Δ 28 2019-09-26, 20:45 New Clojure implementation by user [tkoenig] tkoenig
👁 Δ 27 2019-09-26, 20:03 [Cpp] Add repl.it link jdashg
👁 Δ 26 2019-09-26, 20:02 New Cpp implementation by user [jdashg] jdashg
👁 Δ 25 2019-09-26, 18:30 [Python] d justafoo
👁 Δ 24 2019-09-26, 18:29 [JS] const, fix formatting justafoo
👁 Δ 23 2019-09-26, 17:03 New Java implementation by user [AJavaDeveloper] AJavaDeveloper
👁 Δ 22 2019-09-26, 16:38 New Cpp implementation by user [Anonyme] Anonyme
👁 Δ 21 2019-09-26, 14:29 New Perl implementation by user [gattilorenz] gattilorenz
👁 Δ 20 2019-09-26, 13:55 New Haskell implementation by user [mrkeen] mrkeen
👁 Δ 19 2019-01-24, 10:30 New JS implementation by user [1.7.4] 1.7.4
👁 Δ 18 2018-09-06, 21:37 [C] No sample values programming-idioms.org
👁 Δ 17 2018-08-28, 15:23 New C implementation by user [ThePythonicCow] ThePythonicCow
👁 Δ 16 2018-08-24, 12:51 New PHP implementation by user [ricardo_sdl] ricardo_sdl
👁 Δ 15 2018-06-12, 17:38 New Rust implementation by user [GobbleCock] GobbleCock
👁 Δ 14 2017-10-28, 11:11 New Python implementation by user [Oldboy] Oldboy
👁 Δ 13 2017-08-21, 19:44 [Lua] No need for sample values programming-idioms.org
👁 Δ 12 2017-08-21, 13:30 New Lua implementation by user [Bug38] Bug38
👁 Δ 11 2017-06-07, 13:55 New Csharp implementation by user [programming-idioms.org] programming-idioms.org
👁 Δ 10 2016-11-11, 16:17 +keywords programming-idioms.org
👁 Δ 9 2016-08-22, 20:43 [Ruby] Integer variable is x programming-idioms.org
👁 Δ 8 2016-08-22, 19:56 New Ruby implementation by user [steenslag] steenslag
👁 Δ 7 2016-08-14, 20:20 New Pascal implementation by user [BBaz] BBaz
👁 Δ 6 2016-08-14, 20:03 [D] gzgtzregretg BBaz
👁 Δ 5 2016-08-14, 20:02 New D implementation by user [BBaz] BBaz
👁 Δ 4 2016-08-14, 20:00 New D implementation by user [BBaz] BBaz
👁 Δ 3 2016-08-14, 16:29 New Go implementation by user [programming-idioms.org] programming-idioms.org
👁 Δ 2 2016-08-14, 16:24 Linked to idiom #76 [Binary digits from an integer] programming-idioms.org
1 2016-08-14, 16:22 Idiom creation by user [programming-idioms.org] programming-idioms.org