Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

mytja-archive/String-to-Integer-for-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

String-to-Integer-for-Python

Note

As of 28.1.2020, this library is unmaintained, archived and retired. It will not recieve any updates. It is replaced with already-included in Python int() function.

Example code:

import StrToInt as sti

sti1 = sti.StrToInt("1")
sti2 = sti.StrToInt("1132")
sti3 = sti.StrToInt("nine")
print(sti1)
print(sti2)
print(sti3)

Output:

1
1132
9

Library can be used with Python 2 and 3