[ruby-it] Conversione fra basi! Lo sapevate?
Sandro Paganotti
sandro.paganotti a gmail.com
Gio 5 Feb 2009 21:38:52 CET
Che storia rjust ! ;D
Bello bello bello :D
On Thu, Feb 5, 2009 at 3:45 PM, Giampiero Zanchi <cidza a tin.it> wrote:
> se poi uno vuole strafare
> p (76.to_s 16).rjust(8,"0").upcase
> restituisce
> "0000004C"
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Ml mailing list
> Ml a lists.ruby-it.org
> http://lists.ruby-it.org/mailman/listinfo/ml
>
More information about the Ml
mailing list