Click or drag to resize
CMATHrRound Method
Round to n significant digits

Available since Oasis montaj version: 6.0.1
License: Available to anyone.  

Namespace: GeoEngine.Core.GXNet
Assembly: 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
)

Parameters

d1
Type: SystemDouble
real
i2
Type: SystemInt32
number of significant digits to round to

Return Value

Type: Double
real
See Also