mirror of
https://github.com/bblaz/num2words.git
synced 2026-11-12 12:35:27 +00:00
updated tests
This commit is contained in:
1 parent
8e19dd584b
commit
1514514ed9
1 file changed
+1
-1
@@ -831,7 +831,7 @@ class Num2Word_TR(object):
|
||||
|
||||
def to_currency(self, value):
|
||||
if int(value) == 0:
|
||||
return self.CURRENCY_UNIT.join(self.ZERO)
|
||||
return "{}{}".format(self.CURRENCY_UNIT, self.ZERO)
|
||||
valueparts = self.to_cardinal(value).split(self.pointword)
|
||||
if len(valueparts) == 1:
|
||||
return valueparts[0] + self.CURRENCY_UNIT
|
||||
|
||||
Reference in new issue
Block a user