 | MathUtilsFloorToInt Method |
Converts the specified float value to the floor value as an integer.
The largest integer less than or equal the specified value is returned.
Namespace: Slash.Math.UtilsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic static int FloorToInt(
float value
)
Public Shared Function FloorToInt (
value As Single
) As Integer
public:
static int FloorToInt(
float value
)
static member FloorToInt :
value : float32 -> int
Parameters
- value
- Type: SystemSingle
Value to convert.
Return Value
Type:
Int32Floor integer for the specified float value.
See Also