mirror of
https://github.com/bblaz/num2words.git
synced 2025-12-06 06:42:25 +00:00
Added ability to display cents as numbers
This commit is contained in:
@@ -110,7 +110,7 @@ class Num2Word_EN(num2word_EU.Num2Word_EU):
|
||||
|
||||
def to_currency(self, val, longval=True):
|
||||
return self.to_splitnum(val, hightxt="dollar/s", lowtxt="cent/s",
|
||||
jointxt="and", longval=longval)
|
||||
jointxt="and", longval=longval, cents = True)
|
||||
|
||||
|
||||
n2w = Num2Word_EN()
|
||||
|
||||
Reference in New Issue
Block a user