Geom.isEqual()
Description
Returns true if the absolute difference between arg₁ and arg₂ is less than or equal to eps.
Syntax
JSGeom.isEqual(arg1: Number, arg2: Number, eps: Number = Geom.EPSILON) -> Boolean
 
Parameters
| Parameter | Type | Default Value | Mandatory | Description | 
| arg1 | Number | — |  | The first numeric value. | 
| arg2 | Number | — |  | The second numeric value. | 
| eps | Number | Geom.EPSILON | No | Precision for comparing floating-point numbers. | 
Return value
| Type | Description | 
| Boolean | The result of the operation. | 
Example
| JS | 
|---|
|  | let ret = Geom.isEqual(1/3, 1)
console.info(ret)
 |