Namespace: DeltaEngine.ExtensionsAssembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
public static bool IsNearlyEqual(
this float value1,
float value2,
float difference = 0.0001f
)
public static bool IsNearlyEqual(
this float value1,
float value2,
float difference = 0.0001f
)
<ExtensionAttribute>
Public Shared Function IsNearlyEqual (
value1 As Single,
value2 As Single,
Optional difference As Single = 0.0001F
) As Boolean
<ExtensionAttribute>
Public Shared Function IsNearlyEqual (
value1 As Single,
value2 As Single,
Optional difference As Single = 0.0001F
) As Boolean
public:
[ExtensionAttribute]
static bool IsNearlyEqual(
float value1,
float value2,
float difference = 0.0001f
)
public:
[ExtensionAttribute]
static bool IsNearlyEqual(
float value1,
float value2,
float difference = 0.0001f
)
static member IsNearlyEqual :
value1 : float32 *
value2 : float32 *
?difference : float32
(* Defaults:
let _difference = defaultArg difference 0.0001f
*)
-> bool
static member IsNearlyEqual :
value1 : float32 *
value2 : float32 *
?difference : float32
(* Defaults:
let _difference = defaultArg difference 0.0001f
*)
-> bool
Return Value
Type:
BooleanUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Single. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).