Typecasting

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ketulp_baroda@yahoo.com

    Typecasting

    "Shah, Rajesh \(GE Consumer & Industrial\)" <Rajesh.Shah@ge .com> wrote in message news:<mailman.1 98.1077534828.2 7104.python-list@python.org >...[color=blue]
    > Hi Everybody,
    >
    > Can you guide me to convert string into Int datatype?
    > (i.e. How can we convert string into int? like '555' into 555)
    >
    > Thanks in advance.
    >
    > ~Rajesh[/color]

    Hi Rajesh,
    Just do int('555')
    Bye
Working...