public bool IsValid(string s)
 {
     return(TextFactory.IsValidDouble(s));
 }