Utility.AreEqual (Double, Double, Double) Method

Compares two floating point numbers using the provided domain size.
Public Shared Function AreEqual( _ 
ByVal a As Double, _ 
ByVal b As Double, _ 
ByVal domainSize As Double
) As Boolean
This language is not supported or no code example is available.
public static bool AreEqual( 
double a
double b
double domainSize 
)
This language is not supported or no code example is available.

Parameters

a
double

First floating point number

b
double

Second floating point number

domainSize
double

The domain size

Return Value

bool

True if the two numbers are equal, false otherwise.

.NET Framework

Supported in: 4.8

In this article

Definition