Exemplo n.º 1
0
 private double parseDouble(Reach term)
 {
     if (term.StartsWith(".e"))
     {
         return(0);
     }
     if (term.endsWith(true, ".,"))
     {
         term = term + new Reach("0");
     }
     return(useComma ? Double.Parse(term.text.Replace(".", ",")) : Double.Parse(term.text.Replace(",", ".")));
 }