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

Answer: How do I convert from decimal to hexidecimal?

by tye (Sage)
on Mar 08, 2001 at 23:41 UTC ( #63075=categorized answer: print w/replies, xml ) Need Help??

Q&A > numbers > How do I convert from decimal to hexidecimal? - Answer contributed by tye

sprintf "%x", $num;

Replies are listed 'Best First'.
Re: Answer: How do I convert from decimal to hexidecimal?
by Anonymous Monk on Feb 21, 2005 at 00:22 UTC
    u mean denary?
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[holli]: so i filed a pull request for a open source project on github, they guy asks me "what motivates me to do this"
[holli]: i am tempted to answer "to please our new asian overlords" or something
[holli]: what a silly question

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2017-10-18 22:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (251 votes). Check out past polls.

    Notices?