Added ability to display cents as numbers

This commit is contained in:
Marius Grigaitis
2011-07-07 17:42:29 +03:00
parent dee0d135ac
commit bbc175b3bc
5 changed files with 16 additions and 8 deletions

View File

@@ -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()