views:

674

answers:

3

0x34363932353433373538323038353135353439

A: 

Sorry, just curious. What kind of application is your application? Why are encountering numbers like that?

Corey Trager
+2  A: 

From the Unix / cygwin command line, you can use bc.

$ bc
ibase=16
34363932353433373538323038353135353439
1164362276596472215941024063897591129839055929

There is also an online version. If you want to do it in code you should use an arbitrary precision library facility, like Java's BigInteger, Perl's Math::BigInt, Tcl's math::bignum, or of the many multiple precision arithmetic libraries that are available for C, like GNU GMP, or MPI.

Diomidis Spinellis
+1  A: 

Looks like ASCII to me! On a big-endian system, you get the string "4692543758208515549". :-)

Anyway, to actually answer your question, Ruby is useful for that purpose:

ruby -e 'p 0x34363932353433373538323038353135353439'
Chris Jester-Young
Output of that Ruby command: 1164362276596472215941024063897591129839055929
Pistos