Mega Code Archive
Categories
/
Ruby
/
Language Basics
Uppercase hexadecimal integers
puts '%X' % 10 # => 'A': uppercase hexadecimal integers