mirror of
https://github.com/bblaz/num2words.git
synced 2026-11-12 12:35:27 +00:00
[ADD] to ordinal number for Turkish
This commit is contained in:
1 parent
40ab739f6c
commit
9b62e333d7
1 file changed
+4
@@ -806,6 +806,10 @@ class Num2Word_TR(Num2Word_Base):
|
||||
|
||||
return wrd
|
||||
|
||||
def to_ordinal_num(self, value):
|
||||
self.verify_ordinal(value)
|
||||
return "%s%s" % (value, self.to_ordinal(value)[-4:])
|
||||
|
||||
def to_splitnum(self, val):
|
||||
float_digits = str(int(val * 10 ** self.precision))
|
||||
if not int(val) == 0:
|
||||
|
||||
Reference in new issue
Block a user