Skip to content

apih99/NumRender

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NumRender Library

A simple Python library to convert numbers to their word representations and vice versa.

Installation

# Installation instructions will be added here once published
# For now, you can install it locally:
pip install NumRender

Usage

import NumRender

# Convert words to number
number = NumRender.words_to_number("three hundred and twenty five")
print(number)  # Output: 325

number = NumRender.words_to_number("five thousand")
print(number)  # Output: 5000

# Convert number to words
words = NumRender.number_to_words(1234)
print(words) # Output: one thousand two hundred and thirty-four (example, actual output might vary slightly based on implementation)

words = NumRender.number_to_words(5000)
print(words) # Output: five thousand

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details (if added).

About

A simple Python library to convert numbers to their word representations and vice versa.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages