Click or drag to resize
MathUtilsFloatInRange Method
Checks if a floating point Value is within a specified range of values (inclusive).

Namespace: Slash.Math.Utils
Assembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax
public static bool FloatInRange(
	float value,
	float min,
	float max
)

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