in reply to Re^2: long integer to hexadecimal conversion
in thread long integer to hexadecimal conversion
Much simpler:
or justuse bigint; my $n = 123456789123456; print $n->as_hex;
use bigint; print 123456789123456->as_hex
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: long integer to hexadecimal conversion
by kikuchiyo (Hermit) on Oct 01, 2009 at 12:58 UTC | |
Re^4: long integer to hexadecimal conversion
by perl_fan (Novice) on Oct 05, 2009 at 07:24 UTC |
In Section
Seekers of Perl Wisdom