| CMATHiRound Method |
Round to the nearest whole number
Available since Oasis montaj version: 6.0.1
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetXAssembly: 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
)
Public Shared Function iRound (
gxNetShared As CGXNETCore,
z As Double
) As Integer
public:
static int iRound(
CGXNETCore^ gxNetShared,
double z
)
static member iRound :
gxNetShared : CGXNETCore *
z : float -> int
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - z
- Type: SystemDouble
Round
Return Value
Type:
Int32Integer
See Also