Click or drag to resize
CMATHiRound Method
Round to the nearest whole number

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 with decimal parts larger than .5 round down (-1.5 -> 2.0) Positive values with decimal parts larger than .5 round up (1.5 -> 2.0) Dummy values return dummy
Syntax
public static int iRound(
	CGXNETCore gxNetShared,
	double z
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
z
Type: SystemDouble
Round

Return Value

Type: Int32
Integer
See Also