ComponentOne Basic Library for UWP
IsNumeric Method

C1.UWP Assembly > C1.Xaml Namespace > TypeEx Class : IsNumeric Method
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.
Syntax
'Declaration
 
Public Shared Function IsNumeric( _
   ByVal type As System.Type _
) As System.Boolean
public static System.bool IsNumeric( 
   System.Type type
)

Parameters

type
Type.

Return Value

True if the type is numeric.
See Also

Reference

TypeEx Class
TypeEx Members