Fix typo 'seperator' on source code

This commit is contained in:
Ernesto Rodriguez Ortiz
2019-01-19 16:53:07 -05:00
parent c1292c1499
commit 2eee037648
16 changed files with 56 additions and 56 deletions

View File

@@ -263,14 +263,14 @@ class Num2Word_Base(object):
def _cents_terse(self, number, currency):
return "%02d" % number
def to_currency(self, val, currency='EUR', cents=True, seperator=',',
def to_currency(self, val, currency='EUR', cents=True, separator=',',
adjective=False):
"""
Args:
val: Numeric value
currency (str): Currency code
cents (bool): Verbose cents
seperator (str): Cent seperator
separator (str): Cent separator
adjective (bool): Prefix currency name with adjective
Returns:
str: Formatted string
@@ -297,7 +297,7 @@ class Num2Word_Base(object):
minus_str,
self.to_cardinal(left),
self.pluralize(left, cr1),
seperator,
separator,
cents_str,
self.pluralize(right, cr2)
)