Equal to

Input data

x

y

Tolerance

Output data

x = y

Description

The "Equal to" node checks whether two numbers, xx and yy, are approximately equal, given a specified tolerance. It returns true if xytolerance|x - y| \leq \text{tolerance} and false otherwise.

Input data

ParameterStandard UnitsDescription
xx-First value to be compared
yy-Second value to be compared
Tolerance-Maximum allowed difference between xx and yy

Output data

ParameterStandard UnitsDescription
x=yx = y-Returns 11 if the difference between xx and yy is within tolerance; 00 otherwise