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.GXNetX
Assembly: geoengine.core.gxnetx (in geoengine.core.gxnetx.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(
	CGXNETCore gxNetShared,
	double z,
	int n
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
z
Type: SystemDouble
Real
n
Type: SystemInt32
Number of significant digits to round to

Return Value

Type: Double
Real
See Also