Beispiel #1
0
        public static MiMFa_Percent operator *(MiMFa_Percent op1, decimal op2)
        {
            var op = new MiMFa_Percent(0, 0, 0);

            op.SetValue(op1.Negative * op2);
            op.SetValue(op1.Positive * op2);
            op.SetValue(op1.None * op2, true);
            return(op);
        }
Beispiel #2
0
        public static MiMFa_Percent operator /(MiMFa_Percent op1, MiMFa_Percent op2)
        {
            var op = new MiMFa_Percent(0, 0, 0);

            op.SetValue(op1.Negative / op2.Negative);
            op.SetValue(op1.Positive / op2.Positive);
            op.SetValue(op1.None / op2.None, true);
            return(op);
        }