Esempio n. 1
0
        public float Convertir(TypePeriode typePeriode, TypeTaux typeTaux)
        {
            float result = 0;

            switch (typeTaux)
            {
            case Finance.TypeTaux.ACTUARIEL:
                result = this.Actuariel(typePeriode);
                break;

            default:
                result = this.Proportionnel(typePeriode);
                break;
            }

            return(result);
        }
Esempio n. 2
0
 public TauxPeriodique(float taux, TypePeriode typePeriode, TypeTaux typeTaux)
 {
     this._Taux        = taux;
     this._TypePeriode = typePeriode;
     this._TypeTaux    = typeTaux;
 }
Esempio n. 3
0
 public TauxPeriodique()
 {
     this._Taux        = 0;
     this._TypePeriode = Finance.TypePeriode.ANNUEL;
     this._TypeTaux    = Finance.TypeTaux.ACTUARIEL;
 }