https://github.com/mytja-archive/string-to-integer-for-python
String to integer library
https://github.com/mytja-archive/string-to-integer-for-python
integer library python python1 python2 python27 python3 string string-manipulation
Last synced: 3 months ago
JSON representation
String to integer library
- Host: GitHub
- URL: https://github.com/mytja-archive/string-to-integer-for-python
- Owner: mytja-archive
- License: mit
- Archived: true
- Created: 2020-06-23T14:18:26.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-28T09:43:40.000Z (almost 5 years ago)
- Last Synced: 2024-09-28T16:40:56.252Z (about 1 year ago)
- Topics: integer, library, python, python1, python2, python27, python3, string, string-manipulation
- Language: Python
- Homepage:
- Size: 34.2 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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