Class FloatExtensions
Inheritance
System.Object
FloatExtensions
Namespace: Eco.Gameplay.Utils
Assembly: Eco.Gameplay.dll
Syntax
public static class FloatExtensions : Object
Methods
EqualWithinMargin(Single, Single, Single)
Declaration
public static bool EqualWithinMargin(this float value1, float value2, float margin = 0.1F)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | value1 | |
| System.Single | value2 | |
| System.Single | margin |
Returns
| Type | Description |
|---|---|
| System.Boolean |