[]
Returns true if the type is any of the numeric data types: double, float, int, uint, long, ulong, short, ushort, sbyte, byte and decimal.
public static bool IsNumeric(this Type type)
Type | Name | Description |
---|---|---|
Type | type | Type. |
Type | Description |
---|---|
bool | True if the type is numeric. |