Equals< double >()

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

Compares two double-precision floating-point values.

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

Arguments

ParameterTypeDescription
value1doubleThe first value to compare
value2doubleThe second value to compare

Return Value

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

See Also