mirror of
https://github.com/bblaz/num2words.git
synced 2025-12-06 06:42:25 +00:00
committed by
Ernesto Rodriguez Ortiz
parent
b541ee8d8e
commit
23902ab7c5
@@ -96,5 +96,6 @@ class Num2Word_FR(Num2Word_EU):
|
||||
hightxt = "euro/s"
|
||||
if old:
|
||||
hightxt = "franc/s"
|
||||
return self.to_splitnum(val, hightxt=hightxt, lowtxt="centime/s",
|
||||
divisor=1, jointxt="et", longval=longval)
|
||||
cents = int(round(val*100))
|
||||
return self.to_splitnum(cents, hightxt=hightxt, lowtxt="centime/s",
|
||||
divisor=100, jointxt="et", longval=longval)
|
||||
|
||||
Reference in New Issue
Block a user