An open API service indexing awesome lists of open source software.

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

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).