This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 414
504d8b21 af94 7a5b 80a0 34f390c0dfd7
haplokuon edited this page May 6, 2023
·
1 revision
netDxf 3.0.0 Library
Returns a value indicating the sign of a double-precision floating-point number.
Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0
C#
public static int Sign(
double number,
double threshold
)
VB
Public Shared Function Sign (
number As Double,
threshold As Double
) As Integer
C++
public:
static int Sign(
double number,
double threshold
)
F#
static member Sign :
number : float *
threshold : float -> int
- Double
- Double precision number.
- Double
- Tolerance.
Int32
A number that indicates the sign of value. Return value, meaning:
-1 value is less than zero.
0 value is equal to zero.
1 value is greater than zero.
This method will test for values of numbers very close to zero.