Single.Equality(Single, Single) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value that indicates whether two specified Single values are equal.
public:
static bool operator ==(float left, float right);
public:
static bool operator ==(float left, float right) = System::Numerics::IEqualityOperators<float, float, bool>::op_Equality;
public static bool operator == (float left, float right);
static member ( = ) : single * single -> bool
Public Shared Operator == (left As Single, right As Single) As Boolean
Parameters
- left
- Single
The first value to compare.
- right
- Single
The second value to compare.
Returns
true
if left
and right
are equal; otherwise, false
.
Implements
Remarks
The Equality method defines the equality operator for Single values.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.