Click or drag to resize
MathUtilsFloatEquals Method (Single, Single, Single)
Checks if a floating point Value is equal to another, within a certain tolerance.

Namespace: Slash.Math.Utils
Assembly: Slash.Math (in Slash.Math.dll) Version: 1.0.6018.40177
Syntax
public static bool FloatEquals(
	float value1,
	float value2,
	float delta
)

Parameters

value1
Type: SystemSingle
The first floating point Value.
value2
Type: SystemSingle
The second floating point Value.
delta
Type: SystemSingle
The floating point tolerance.

Return Value

Type: Boolean
True if the values are "equal"; otherwise, false.
See Also