Equal Numbers

Revision as of 11:57, 18 May 2024 by Osmo (talk | contribs) (Updated the page)

Outputs `True` if both number inputs are equal, and false if they are not.

Equal Numbers
Equal Numbers.png
TypeScript block
ColliderNone
FolderMath
Ports
Inputs Num1
Num2
Outputs Truth
Example
Example

Notes

The numbers do not have to be actually equal to be considered equal, they have to be close enough.

 
0.001 is equal to 0

If high precision is required, the following script can be used:

 
Does not have the same issue as the example above