Numerics
The Numerics class contains common operations on numeric values.
            
                
Test two numeric values for equality, performing the usual numeric
            conversions and using a provided or default tolerance. If the tolerance
            provided is Empty, this method may set it to a default tolerance.
            
public static bool AreEqual<T1, T2>(T1 expected, T2 actual, ref Tolerance tolerance) where T1 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IConvertible where T2 : ValueType modreq(System.Runtime.InteropServices.UnmanagedType), IConvertible
Test two numeric values for equality, performing the usual numeric
            conversions and using a provided or default tolerance. If the tolerance
            provided is Empty, this method may set it to a default tolerance.
            
Compare two numeric values, performing the usual numeric conversions.
            
Checks the type of the object, returning true if
            the object is a fixed point numeric type.
            
Checks the type of the object, returning true if
            the object is a floating point numeric type.
            
Checks the type of the object, returning true if
            the object is a numeric type.