[ruby-it] Conversione fra basi! Lo sapevate?

Giampiero Zanchi cidza a tin.it
Gio 5 Feb 2009 16:45:17 CET


se poi uno vuole strafare
p (76.to_s 16).rjust(8,"0").upcase
restituisce
"0000004C"

-- 
Posted via http://www.ruby-forum.com/.


More information about the Ml mailing list