OsApproxEquals
From OpenSimulator
(Difference between revisions)
Line 3: | Line 3: | ||
|permissions=true | |permissions=true | ||
|delay=0 | |delay=0 | ||
− | |function_syntax= integer osApproxEquals(float a, float b)<br/> | + | |function_syntax= integer osApproxEquals(float a, float b)<br/> |
integer osApproxEquals(float a, float b, float margin)<br/> | integer osApproxEquals(float a, float b, float margin)<br/> | ||
integer osApproxEquals(vector va, vector vb)<br/> | integer osApproxEquals(vector va, vector vb)<br/> |
Revision as of 13:41, 20 February 2019
integer osApproxEquals(float a, float b)
integer osApproxEquals(float a, float b, float margin) | |
returns true (1) if the quantities or all their components do not differ by the margin value or 1e-6 if margin is not provided | |
Threat Level | None |
Permissions | Use of this function is always allowed by default |
Extra Delay | 0 seconds |
Notes | |
Implemented November 20, 2018 |