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.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.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(
	double d1
)

Parameters

d1
Type: SystemDouble
round

Return Value

Type: Int32
integer
See Also