Python  1.0
Functions
_01c_str2int Namespace Reference

The equivalent of the function atoi. More...

Functions

def str2int (str)
 Converts a string with characters from '0' to '9' to an integer. More...
 
def main ()
 

Detailed Description

The equivalent of the function atoi.

Author
Paulo Roma
Since
10/12/2006

Function Documentation

◆ main()

def _01c_str2int.main ( )

◆ str2int()

def _01c_str2int.str2int (   str)

Converts a string with characters from '0' to '9' to an integer.

Parameters
strgiven string.
Returns
the decimal representation of str.

Referenced by main().