 | MathUtilsRoundToInt Method |
Rounds the specified value to the nearest integral value.
Namespace: Slash.Math.UtilsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic static int RoundToInt(
float value
)
Public Shared Function RoundToInt (
value As Single
) As Integer
public:
static int RoundToInt(
float value
)
static member RoundToInt :
value : float32 -> int
Parameters
- value
- Type: SystemSingle
Value to round.
Return Value
Type:
Int32Specified value rounded to the nearest integral value.
See Also