Logo

Programming-Idioms

History of Idiom 142 > diff from v29 to v30

Edit summary for version 30 by tkoenig:
New Fortran implementation by user [tkoenig]

Version 29

2019-09-26, 20:46:00

Version 30

2019-09-26, 20:46:20

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 (*,'(Z8.8)') 999