4rpl:commands:approximately
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
4rpl:commands:approximately [2021/12/14 01:10] – Karsten75 | 4rpl:commands:approximately [2025/02/14 14:57] (current) – external edit 127.0.0.1 |
---|
~~NOTOC~~ | ~~NOTOC~~ |
<=[[4rpl:start| Index]] | <=[[4rpl:start| Index]] \\ |
| <= [[4rpl:start#Math]] |
| |
====== approximately ====== | ====== approximately ====== |
| |
See [[https://docs.unity3d.com/Documentation/ScriptReference/Mathf.Approximately.html | Mathf.Approximately in Unity3D documentation]] | See [[https://docs.unity3d.com/Documentation/ScriptReference/Mathf.Approximately.html | Mathf.Approximately in Unity3D documentation]] |
| |
| If you came to this documentation for an API to handle an approximation that's much larger than (//Epsilon//((Epsilon is defined as: The smallest value that a float can have different from zero.))), such as comparing 1.625002 to 1.625000, an alternative is to use [[4rpl:commands:distance|Distance]] and define your own approximation margin. |
| |
===== Examples ===== | ===== Examples ===== |
4rpl/commands/approximately.1639444254.txt.gz · Last modified: 2025/02/14 14:56 (external edit)