Logo

Programming-Idioms

History of Idiom 142 > diff from v27 to v28

Edit summary for version 28 by tkoenig:
New Clojure implementation by user [tkoenig]

Version 27

2019-09-26, 20:03:19

Version 28

2019-09-26, 20:45:30

Idiom #142 Hexadecimal digits of an integer

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

E.g. 999 -> "3e7"

Idiom #142 Hexadecimal digits of an integer

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

E.g. 999 -> "3e7"

Extra Keywords
hex hexa radix
Extra Keywords
hex hexa radix
Code
  write (unit=s,'(Z8.8)') 999