Function that checks if two variables are equal, except than K_EPSILON.
Syntax |
i32 similar (real var1, real var2 [, real epsThr=K_EPSILON]) |
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
var1 |
First variable |
|||||||||
var2 |
Second variable |
|||||||||
epsThr |
Control threshold. (optional, default K_EPSILON) |
|||||||||
Result |
Returns:
|
|||||||||
Validity |
Rule, Task |
|||||||||
Note |
Example of use: |