ComponentOne Basic Library for UWP
C1.UWP Assembly / C1.Xaml Namespace / TypeEx Class / IsNumeric Method
Type.

In This Topic
    IsNumeric Method
    In This Topic
    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