zhifu gao
2023-03-24 5c4bd2b718d5f2935ea6609b5051c4182b8b3c50
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# -*- coding: utf-8 -*-
 
from __future__ import unicode_literals
 
from .lang_FR import Num2Word_FR
 
 
class Num2Word_FR_DZ(Num2Word_FR):
    CURRENCY_FORMS = {
        'DIN': (('dinard', 'dinards'), ('centime', 'centimes')),
    }
 
    def to_currency(self, val, currency='DIN', cents=True, separator=' et',
                    adjective=False):
        result = super(Num2Word_FR, self).to_currency(
            val, currency=currency, cents=cents, separator=separator,
            adjective=adjective)
        return result