| CMATHiRound Method |
Round to the nearest whole number
Available since Oasis montaj version: 6.0.1
License: Available to anyone.
Namespace: GeoEngine.Core.GXNetAssembly: 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
)
Public Shared Function iRound (
d1 As Double
) As Integer
public:
static int iRound(
double d1
)
static member iRound :
d1 : float -> int
Parameters
- d1
- Type: SystemDouble
round
Return Value
Type:
Int32integer
See Also