Equals< float >()

System::BoxedValueDetail::Equals< float >(float, float) function

Compares two single-precision floating-point values.

bool System::BoxedValueDetail::Equals<float>(float value1, float value2)

Arguments

ParameterTypeDescription
value1floatThe first value to compare
value2floatThe second value to compare

Return Value

True if both values are NAN or are equal, otherwise - false

See Also