in reply to Re^2: Converting Hexadecimal to Decimal notation and vice-versain thread Converting Hexadecimal to Decimal notation and vice-versa

Specify a different template for sprintf?

mtfnpy

UPDATE: I was LARTed out of my delirious stupor. Ignore this and all other replies.

http://perldoc.perl.org/functions/sprintf.html

HTH.

On a couple of occasions I have been accused of being deliberately dense, but in this thread, you really take the biscuit.

How can sprintf correctly render to hexadecimal, an integer numerically greater than Perl can accurately represent?

Yes, I watch meteor showers No, I do not watch meteor showers My meteors prefer to bathe

Results (173 votes). Check out past polls.

Comment onRe^3: Converting Hexadecimal to Decimal notation and vice-versaDownloadCode