Click or drag to resize

CMATHiRound Method

Round to the nearest whole number

Namespace:  GeoEngine.Core.GXNet
Assembly:  geoengine.core.gxnet (in geoengine.core.gxnet.dll) Version: 2024.2.0.25
Syntax
public static int iRound(
	double z
)

public static int iRound(
	double z
)

Parameters

z
Type: SystemDouble
Round

Return Value

Type: Int32
Integer
Remarks
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
See Also