[]
        
(Showing Draft Content)

C1.WPF.TypeEx.IsNumeric

IsNumeric Method

IsNumeric(Type)

Returns true if the type is any of the numeric data types: double, float, int, uint, long, ulong, short, ushort, sbyte, byte and decimal.

Declaration
public static bool IsNumeric(this Type type)
Public Shared Function IsNumeric(type As Type) As Boolean
Parameters
Type Name Description
Type type

Type.

Returns
Type Description
bool

True if the type is numeric.