mirror of
https://github.com/bblaz/num2words.git
synced 2025-12-06 06:42:25 +00:00
Fix typo 'seperator' on source code
This commit is contained in:
@@ -173,14 +173,14 @@ class Num2Word_SR(Num2Word_Base):
|
||||
|
||||
return ' '.join(words)
|
||||
|
||||
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
|
||||
@@ -210,7 +210,7 @@ class Num2Word_SR(Num2Word_Base):
|
||||
minus_str,
|
||||
self.to_cardinal(left, feminine=cr1[-1]),
|
||||
self.pluralize(left, cr1),
|
||||
seperator,
|
||||
separator,
|
||||
cents_str,
|
||||
self.pluralize(right, cr2)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user