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