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 407
bc3fb67e c136 7335 0162 8d72043b61b5
haplokuon edited this page May 6, 2023
·
1 revision
netDxf 3.0.0 Library
Round off a numeric value to the nearest of another value.
Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0
C#
public static double RoundToNearest(
double number,
double roundTo
)
VB
Public Shared Function RoundToNearest (
number As Double,
roundTo As Double
) As Double
C++
public:
static double RoundToNearest(
double number,
double roundTo
)
F#
static member RoundToNearest :
number : float *
roundTo : float -> float
- Double
- Number to round off.
- Double
- The number will be rounded to the nearest of this value.
Double
The number rounded to the nearest value.