Exemplo n.º 1
0
 public string EqualExpression()
 {
     return((OperateSelector == null) ?
            LastResult.ToString() + "="
             : BaseNumber.ToString()
            + OperateSelector.Mark()
            + LastInput.ToString()
            + "=");
 }
Exemplo n.º 2
0
 private NumberField Compute(NumberField number1, NumberField number2)
 {
     return(new NumberField(OperateSelector.Compute(number1.Value, number2.Value)));
 }
Exemplo n.º 3
0
 public string OperateExpression()
 {
     return(LastResult.ToString() + OperateSelector.Mark());
 }