AT.MIN.Tools.IsNumericType C# (CSharp) Method

IsNumericType() public static method

Determines whether the specified value is of numeric type.
public static IsNumericType ( object o ) : bool
o object The object to check.
return bool
		public static bool IsNumericType( object o )
		{
			return ( o is byte ||
				o is sbyte ||
				o is short ||
				o is ushort ||
				o is int ||
				o is uint ||
				o is long ||
				o is ulong ||
				o is float ||
				o is double ||
				o is decimal );
		}
		#endregion