Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

daa651d1 9afe 8e0e 6714 0c1b8c33b0f5

haplokuon edited this page May 6, 2023 · 1 revision

IsEqual(Double, Double, Double) Method

netDxf 3.0.0 Library

Checks if a number is equal to another.

Definition

Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public static bool IsEqual(
	double a,
	double b,
	double threshold
)

VB

Public Shared Function IsEqual ( 
	a As Double,
	b As Double,
	threshold As Double
) As Boolean

C++

public:
static bool IsEqual(
	double a, 
	double b, 
	double threshold
)

F#

static member IsEqual : 
        a : float * 
        b : float * 
        threshold : float -> bool 

Parameters

  Double
Double precision number.
  Double
Double precision number.
  Double
Tolerance.

Return Value

Boolean
True if its close to one or false in any other case.

See Also

Reference

MathHelper Class
IsEqual Overload
netDxf Namespace

Clone this wiki locally