 | MathUtilsFloatInRange Method |
Checks if a floating point Value is within a specified range of values (inclusive).
Namespace: Slash.Math.UtilsAssembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntaxpublic static bool FloatInRange(
float value,
float min,
float max
)
Public Shared Function FloatInRange (
value As Single,
min As Single,
max As Single
) As Boolean
public:
static bool FloatInRange(
float value,
float min,
float max
)
static member FloatInRange :
value : float32 *
min : float32 *
max : float32 -> bool
Parameters
- value
- Type: SystemSingle
The Value to check. - min
- Type: SystemSingle
The minimum Value. - max
- Type: SystemSingle
The maximum Value.
Return Value
Type:
Boolean True if the Value is within the range specified, false otherwise.
See Also