[PYTHON DB-SIG] Converting strings to numbers

Karen Savage ksavage@kamro.com
Tue, 22 Oct 1996 19:23:30 -0700


This seems like it should be easy to do, but I can't figure it out.  I have
a string variable containing a numeric value. (i.e. '3').  I want to convert
it to a numeric variable type.  Any ideas?  Also is there an equivalent of
an IsNumber(string) call that tells you if a string value can be converted
to a numeric?


=================
DB-SIG  - SIG on Tabular Databases in Python

send messages to: db-sig@python.org
administrivia to: db-sig-request@python.org
=================