Rounds given value to a nearest integer. For example: RoundToNextInt(0.2) is 1 RoundToNextInt(-0.9) is -1 RoundToNextInt(-9) is -9
Namespace: xpidea.neuro.net
Assembly: xpidea.neuro.net (in xpidea.neuro.net.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Shared Function RoundToNextInt( _ ByVal value As Double _ ) As Integer |
| C# |
|---|
| public static int RoundToNextInt( double value ) |
| C++ |
|---|
| public: static int RoundToNextInt( double value ) |
| J# |
|---|
| public static int RoundToNextInt( double value ) |
| JScript |
|---|
| public static
function RoundToNextInt( value : double ) : int |
Parameters
- value
- is a value to be rounded.
Return Value
Rounded to the nearest integer value of value