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

Namespace:  C1.Xaml
Assembly:  C1.Xaml (in C1.Xaml.dll)

Syntax

C#
public static bool IsNumeric(
	this Type type
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function IsNumeric ( _
	type As Type _
) As Boolean

Parameters

type
Type: System..::..Type
Type.

Return Value

True if the type is numeric.

See Also