NSoft.NFramework.Tools.TypeTool.IsNumeric C# (CSharp) 메소드

IsNumeric() 공개 정적인 메소드

check specified object is numeric type
public static IsNumeric ( this value ) : bool
value this
리턴 bool
        public static bool IsNumeric(this object value) {
            if(value == null)
                return false;

            double dbl;
            return Double.TryParse(value.ToString(),
                                   NumberStyles.Any,
                                   NumberFormatInfo.InvariantInfo,
                                   out dbl);
        }