Negative amounts were not working (when no currency is used), because
`get_digits` method does not expect `-` sign, which crashes conversion.
To avoid that, we split minus sign from number string and prepare its
word to be used with amount words.
closes: #184
FI: Add support for Finnish
This is a squash of the following commits :
* The recommendation by Kotus was optional. The code didn't work anyway
because million is 10**6, not 10**9, and the recommendation only applies
to round millions, billions and so on where the multiplier is 10 or
greater.
* FI: currency: use inheritance, add FIM and USD
* FI: add some common currencies
* FI: add inflections
* FI: inflections: small fixes
* FI: fix ordinal 200
* FI: fix comitative
* FI: actually fix ordinal 200
* FI: refactoring
* FI: fix tens
* FI: fix plural for tens and higher
* FI: toinen --> kahdes for numbers > 200
* FI: use collection for options
* FI: add tests
* FI: add minced tests
* FI: trim tests
* FI: finishing touches
* FI: improve cardinal_float, ordinal, add tests
* FI: add documentation to README.rst
* Create lang_CZ.py
* Added czech language to init .
* Update __init__.py
* Update lang_CZ.py
* Added translation to czech language
* Fixed thousands translation
* Added czech language to readme
* Changed pointword in czech translation.
* Create test_cz.py
* Fixed names for very big numbers.
* Fixed currency spelling.
* Created tests for czech language.
* Fixed: Shortened length of some long lines.
* Shortened one more line of code.
* Fixed tests
* Fixed flake-8.
* Changed name of the test class
* Add tests
Starting work on #141, which points out that 2017 should come out
"twenty seventeen"; it currently comes out "two thousand seventeen".
* Handle English years properly.
Resolves#141.
* Whoops -- didn't PEP-8 my tests
* Handle years MORE properly...with suffixes!
- Rendering years between 10-99 was bugged (e.g. "zero fifty").
Fixed that by thinking outside the high/low text box I had made.
- Added suffixes: default none if positive, 'BC' if negative.
User-overrideable.
* add Thai
* change splitby3 to splitbyx
* change lang_th to use function from currency
* make Num2Word_TH inherit from Num2Word_Base
* comment out test failed in 2.7 env
* fix python2.7 error
* add USD EUR for Thai
* pep8 fix
* added Thai
`n % 1 != 0` is not a valid test for float:
In []: 1.1 % 1 == 0
Out[]: False
but:
In []: 1.0 % 1 == 0
Out[]: True
hence it's really necessary to explicitly test for type in this case.
* Activate flake8, isort and coveralls in the configuration of tox
* Update code to respect PEP8
* Fix bug in the lang_IT for python 3
* Update the README to include the new converters.