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
👁 Δ 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