Пример #1
0
        public void ExecuteOperation()
        {
            switch (Operation)
            {
            case TOprtn.Add:
                Lop_Res = Lop_Res.Add(Rop);
                break;

            case TOprtn.Sub:
                Lop_Res = Lop_Res.Subtract(Rop);
                break;

            case TOprtn.Mul:
                Lop_Res = Lop_Res.Multiply(Rop);
                break;

            case TOprtn.Dvd:
                Lop_Res = Lop_Res.Divide(Rop);
                break;

            default:
                break;
            }
        }
Пример #2
0
 public void Sub(TPNumber E)
 {
     FNumber.systemBase = E.systemBase;
     FNumber            = FNumber.Subtract(E);
 }