예제 #1
0
 public virtual double GetNumber()
 {
     if (m_NumberVal != null)
     {
         return(m_NumberVal.GetNumber());
     }
     if (m_BoolVal != null)
     {
         return(m_BoolVal.GetResult() ? 1 : 0);
     }
     return(0d);
 }
예제 #2
0
 public double GetNumber()
 {
     return(Math.Pow(value.GetNumber(), power.GetNumber()));
 }
예제 #3
0
 public bool GetResult()
 {
     return(val.GetNumber() > 0);
 }
예제 #4
0
 public double GetNumber()
 {
     return(1d / input.GetNumber());
 }