Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: long integer to hexadecimal conversion

by Joost (Canon)
on Oct 01, 2009 at 12:38 UTC ( #798629=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use bigint; 
    my $n = 123456789123456; 
    print $n->as_hex;
    
  2. or download this
    use bigint;
    print 123456789123456->as_hex
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://798629]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2016-02-10 10:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (342 votes), past polls