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