<- PRPL reference <- Math
Arguments | Result | Notation |
---|---|---|
number number | bool | [number number- bool] |
Takes two floats and returns True if they equal, regardless of floating point jitter. <a href=“http://docs.unity3d.com/Documentation/ScriptReference/Mathf.Approximately.html”></a>
if (approximately(1.000001 1)) trace("1.000001 is approximately equal to 1") endif