mirror of
https://github.com/bblaz/num2words.git
synced 2025-12-06 14:52:25 +00:00
Add support for the Indian rupee. (#248)
This commit is contained in:
committed by
Ernesto Rodriguez Ortiz
parent
a869745813
commit
f4b2bac098
@@ -42,6 +42,7 @@ class Num2Word_EU(Num2Word_Base):
|
|||||||
'PLN': (('zloty', 'zlotys', 'zlotu'), ('grosz', 'groszy')),
|
'PLN': (('zloty', 'zlotys', 'zlotu'), ('grosz', 'groszy')),
|
||||||
'MXN': (('peso', 'pesos'), GENERIC_CENTS),
|
'MXN': (('peso', 'pesos'), GENERIC_CENTS),
|
||||||
'RON': (('leu', 'lei'), ('ban', 'bani')),
|
'RON': (('leu', 'lei'), ('ban', 'bani')),
|
||||||
|
'INR': (('rupee', 'rupees'), ('paisa', 'paise'))
|
||||||
}
|
}
|
||||||
|
|
||||||
CURRENCY_ADJECTIVES = {
|
CURRENCY_ADJECTIVES = {
|
||||||
@@ -53,6 +54,7 @@ class Num2Word_EU(Num2Word_Base):
|
|||||||
'NOK': 'Norwegian',
|
'NOK': 'Norwegian',
|
||||||
'MXN': 'Mexican',
|
'MXN': 'Mexican',
|
||||||
'RON': 'Romanian',
|
'RON': 'Romanian',
|
||||||
|
'INR': 'Indian',
|
||||||
}
|
}
|
||||||
|
|
||||||
GIGA_SUFFIX = "illiard"
|
GIGA_SUFFIX = "illiard"
|
||||||
|
|||||||
Reference in New Issue
Block a user