Keep It Simple, Stupid | |
PerlMonks |
String to Hexby augustpete (Initiate) |
on May 22, 2007 at 20:52 UTC ( [id://616866]=perlquestion: print w/replies, xml ) | Need Help?? |
augustpete has asked for the wisdom of the Perl Monks concerning the following question:
I am attempting to convert a String Decimal value to Hex, and all I get back are a series of fffff
I am using
printf ("%x\n",$esn)
$esn declared as my $esn and the value is a character string from the Sql select statement.
printng $esn before the conversion - the number's are
24600988483
Comes our as
FFFFFFFF
Back to
Seekers of Perl Wisdom
|
|