Summary
Gets largest integer less than or equal to the amount.
- Namespace
- StrideToolkit
.Mathematics - Containing Type
- MathUtilEx
Syntax
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static int FloorToInt(this float value)
Attributes
| Type | Description |
|---|---|
| MethodImplAttribute |
Parameters
| Name | Type | Description |
|---|---|---|
| value | float | The value. |
Return Value
| Type | Description |
|---|---|
| int | The largest integer less than or equal to the amount. |
