Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: why are hex values not numbers?

by shmem (Chancellor)
on Sep 27, 2016 at 21:02 UTC ( [id://1172782]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -le 'print 0x41'
    65
    
  2. or download this
    perl -le 'print 0 + "0x41"'
    0
    
  3. or download this
    perl -le 'print 0+"3.1415pi--roughly"'
    3.1415
    
  4. or download this
    perl -le 'print hex "0x41"'
    65
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (1)
As of 2024-04-25 02:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found