Beispiel #1
0
 public Variant NumberValue(Num num)
 {
     return new Variant(
         num.Text.Contains(".")
          ? double.Parse(num.Text)
          : int.Parse(num.Text));
 }
 public int Integer(Num num)
 {
     return int.Parse(num.Text);
 }
Beispiel #3
0
 public static int Int32(Num num)
 {
     return int.Parse(num.Text);
 }
 public ICalcExprBase2 Number(Num num)
 {
     return new CalcExprInterp2 { Value = double.Parse(num.Text) };
 }
 public override CalcExprBase Number(Num num)
 {
     return new CalcExprInterp { Value = double.Parse(num.Text) };
 }
 public abstract CalcExprBase Number(Num num);