mirror of
https://github.com/bblaz/num2words.git
synced 2025-12-06 06:42:25 +00:00
updated tests
This commit is contained in:
@@ -831,7 +831,7 @@ class Num2Word_TR(object):
|
||||
|
||||
def to_currency(self, value):
|
||||
if int(value) == 0:
|
||||
return "{}{}".format(self.CURRENCY_UNIT, self.ZERO)
|
||||
return "{}{}".format(self.ZERO, self.CURRENCY_UNIT)
|
||||
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