Пример #1
0
 private void AddFloatOrIntegerToken(string value)
 {
     if (value.Length != 0)
     {
         double num1 = NumbersParser.StrToDouble(value);
         if (NumbersParser.IsUshort(num1))
         {
             this.AddToken(FormulaTokenCode.Int, (ushort)num1);
         }
         else
         {
             this.AddToken(FormulaTokenCode.Num, num1);
         }
     }
 }
Пример #2
0
 public static bool IsRowValid(string match)
 {
     return(RefFormulaToken.IsRowValid(NumbersParser.StrToInt(match)));
 }