| CMATHrRound Method |
Round to n significant digits
Available since Oasis montaj version: 6.0.1
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetAssembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Notes
Negative values ending in 5XXX to n sig digits round down
Positive values ending in 5XXX to n sig digits round up
Dummy values return dummy
Syntax public static double rRound(
double d1,
int i2
)
Public Shared Function rRound (
d1 As Double,
i2 As Integer
) As Double
public:
static double rRound(
double d1,
int i2
)
static member rRound :
d1 : float *
i2 : int -> float
Parameters
- d1
- Type: SystemDouble
real - i2
- Type: SystemInt32
number of significant digits to round to
Return Value
Type:
Doublereal
See Also