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

5274d087 c5a0 f7d9 fad4 a5b8e8afccd4

haplokuon edited this page May 6, 2023 · 1 revision

IsZero(Double, Double) Method

netDxf 3.0.0 Library

Checks if a number is close to zero.

Definition

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

C#

public static bool IsZero(
	double number,
	double threshold
)

VB

Public Shared Function IsZero ( 
	number As Double,
	threshold As Double
) As Boolean

C++

public:
static bool IsZero(
	double number, 
	double threshold
)

F#

static member IsZero : 
        number : float * 
        threshold : float -> bool 

Parameters

  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
IsZero Overload
netDxf Namespace

Clone this wiki locally