https://github.com/therealprohacker/readnum
Spell out (almost) any number
https://github.com/therealprohacker/readnum
number-to-words python
Last synced: 10 months ago
JSON representation
Spell out (almost) any number
- Host: GitHub
- URL: https://github.com/therealprohacker/readnum
- Owner: theRealProHacker
- License: mit
- Created: 2021-01-22T18:02:30.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-17T19:10:12.000Z (about 1 year ago)
- Last Synced: 2025-04-18T09:32:10.034Z (about 1 year ago)
- Topics: number-to-words, python
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# readNum
This python project turns a number into a readable spelled-out form
You just have to download [readNum.py file](https://github.com/theRealProHacker/readNum/blob/main/readNum.py)
And then you can get going. Drop any value into the `readNum`-function
```python
from readNum import readNum
assert readNum(1) == "one"
```
So if you put in a value the function will return that value as a `str`.
You can find more examples in [showcase.py](https://github.com/theRealProHacker/readNum/blob/main/showcase.py).