Marek Madejski
4a0b323fa9
early continue
...
skip processing given power of thousand if it is 0
2018-12-03 16:07:15 +01:00
Andrius Laukavičius
39f522f34a
[FIX] lang_LT, lang_LV: negative amounts ( #185 )
...
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
2018-08-23 10:39:03 -04:00
Mārtiņš Šulcs
1e954c909b
Attempt at refactoring to_currency into base ( #135 )
...
* Attempt at refactoring lv to base
* Remove dead files.
* Use static props.
* Convert doctests, move utils out.
* Refactor lt
* Update and move ru doctests.
* Refactor ru.
* Refactor pl.
* Move uk doctests.
* Refactor uk.
* DRY
* Cleanup.
2017-11-09 10:13:01 -05:00
Mārtiņš Šulcs
5a131fedc6
Long form for currency name is optional. Currency name rendering in e… ( #133 )
...
* Long form for currency name is optional. Currency name rendering in english.
* Missing encoding header.
2017-11-05 17:59:25 -05:00
Mārtiņš Šulcs
a1a3c53b39
Improve lv ( #132 )
...
* Add legal form.
* Fix fractions (comma)
* Fix edge case, improve test coverage.
* Add most popular currencies
* PEP8 line length
* Fix some forms.
2017-11-01 13:04:09 -04:00
Mārtiņš Šulcs
f9d8868794
Refactor and fix some issues with to_currency. Reduce code duplication. ( #129 )
...
* Refactor and fix some issues with to_currency. Reduce code duplication.
* Use unicode literals in uk testcase.
2017-10-31 20:17:13 -04:00