Patches

Equals

Equals

Check if two numbers are equal, or approximately equal within a tolerance. Useful for bouncy values that don’t settle on round integers.

Equals

  • First Value
  • Second Value
  • Tolerance
  •  

First Value

The base number.

Second Value

The number to compare to the base.

Tolerance

A number that represents the wiggle room between the first and second values where. For example, a tolerance of .1 means that 2.1 is equal to 2. Useful for bouncy/smoothed values.

Output

A boolean that is true if the first and second values are equal within the tolerance.