示例#1
0
文件: Divisa.cs 项目: Arce-Juan/PAD
        public float De1PesoArgA1Divisa_Venta(Divisa _divisa)
        {
            switch (_divisa.Id)
            {
            case 1:     //ARS
                return(1F);

            case 2:     //USD
                return(83.52F);

            case 3:     //EUR
                return(89.94F);

            case 4:     //JPY
                return(0.05F);

            default:
                return(0F);
            }
        }
示例#2
0
文件: Divisa.cs 项目: Arce-Juan/PAD
        public float De1PesoArgA1Divisa_Compra(Divisa _divisa)
        {
            switch (_divisa.Id)
            {
            case 1:     //ARS
                return(1F);

            case 2:     //USD
                return(77.57F);

            case 3:     //EUR
                return(83.72F);

            case 4:     //JPY
                return(0.09F);

            default:
                return(0F);
            }
        }