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?

Turing machines λ-calculus μ-recursive functions Formal grammars Markov chains Petri nets Conway's Game of Life Perl regular expressions My Magic 8-Ball™ Actual computers

Results (182 votes). Check out past polls.

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