Summary
The Numerics class contains common operations on numeric values.
- Namespace
- TCLite
.Constraints - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["Numerics"]
class Type type-node
Syntax
public class Numerics
Methods
Name | Value | Summary |
---|---|---|
AreEqual |
bool |
static
|
AreEqual |
bool |
static
|
AreEqual |
bool |
static
|
AreEqual |
bool |
static
|
AreEqual |
bool |
static
|
AreEqual |
bool |
static
|
AreEqual |
bool |
static
|
AreEqual |
bool |
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.
static
|
Compare |
int |
Compare two numeric values, performing the usual numeric conversions.
static
|
IsNumericType |
bool |
Checks a Type, returning true if it is a numeric Type.
static
|
IsNumericType |
bool |
Checks the type of the argument, returning true if
the argument is a numeric type.
static
|