Click or drag to resize

ExtenstionsIsLessThanOrEqualTo Method

Float comparison method evaluating two floats against each other for less than or equal with a constant decimal precision of 3.

Namespace:  SolidFire.Core
Assembly:  SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax
C#
public static bool IsLessThanOrEqualTo(
	this float value,
	float compareTo
)

Parameters

value
Type: SystemSingle
The float to compare
compareTo
Type: SystemSingle
The float to compare against

Return Value

Type: Boolean
True if less than or equal to

Usage 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).
See Also