[Tutor] Re: hex to decimal conversion.

Derrick 'dman' Hudson dman@dman.ddts.net
Fri Nov 15 16:23:18 2002


--NzB8fVQJ5HfG6fxh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Nov 15, 2002 at 06:44:01PM -0000, alan.gauld@bt.com wrote:
| > can anyone tell me how to convert from hexidecimal to decimal??
|=20
| look at the string.atoi() function.

Don't.  That has been deprecated since 2.0.  Instead look at the int()
built-in.

-D

--=20
Do not be afraid of those who kill the body but cannot kill the soul.
Rather be afraid of the One who can destroy both soul and body in hell.
        Matthew 10:28
=20
http://dman.ddts.net/~dman/

--NzB8fVQJ5HfG6fxh
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj3VaK8ACgkQO8l8XBKTpRSuPwCgiK3mvDr1hnv2WRZoWTy7xrrC
FlkAn2ZBm6qxgNE0Hn6p2CGRvibwaCkF
=enf9
-----END PGP SIGNATURE-----

--NzB8fVQJ5HfG6fxh--