in reply to Re: converting big hex to dec
in thread converting big hex to dec

sub hex16dec {
That's misnamed. It's not returning a decimal string. It's returning a number without a base. It's Perl's number-to-string conversion that is doing the "decimalification" later.

So a better name for that would be "from_hex_16" or something like that.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re^3: converting big hex to dec
by BrowserUk (Patriarch) on Sep 27, 2005 at 17:09 UTC

    Agreed. doubleFromHex16() maybe?


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
    "Science is about questioning the status quo. Questioning authority".
    The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.