C# 檢查是否為數字

private bool IsNumeric(string InputValue)
  {
   bool Numeric = double.TryParse( InputValue , System.Globalization.NumberStyles.Any , null , out Dummy);
  
   return Numeric;
  }

arrow
arrow
    全站熱搜

    felixhuang 發表在 痞客邦 留言(1) 人氣()