Skip to content

Latest commit

 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

number-integer-to-number-string

Convert number into polish words Polish documentation

Browser <- Js AJAX -> REST API (django) <-> numbetostring.py (python3)

Class numbersinword convert number to list. On groups of number (by 3 number) iterate two functions: first set name of groups (ex. milionów, tysięcy) second set name of number in group (ex. sto dwadzieścia). At the end method toString() scale and return string (or False if exception)

Download and install packages

git clone https://github.com/pceuropa/number-integer-to-number-string.git
cd number-integer-to-number-string
pip3 install -r requirements.txt

Run app django

./manage.py runserver

Tests

./manage.py test

Execute only python method (without Web API)

python3 app/numbersinword.py

About

Convert ordinal numbers into words in polish language.

Topics

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages