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 411
444c1e9a 5710 5555 6595 e06855139a2f
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
)
VB
Public Shared Function Sign (
number As Double
) As Integer
C++
public:
static int Sign(
double number
)
F#
static member Sign :
number : float -> int
- Double
- Double precision number.
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.