Succeeds if Val1 and Val2 are within AbsoluteTolerance of each other.
Verse using statement |
using { /Verse.org/Verse } |
IsAlmostEqual<public>(Val1:float, Val2:float, AbsoluteTolerance:float):void
Parameters
IsAlmostEqual takes the following parameters:
| Name | Type | Description |
|---|---|---|
Val1 |
float |
|
Val2 |
float |
|
AbsoluteTolerance |
float |
Attributes, Specifiers, and Effects
Specifiers
The following specifiers determine how you can interact with IsAlmostEqual in your programs. For the complete list of specifiers, see the Specifiers Page.
| Specifier | Meaning |
|---|---|
public |
The identifier is universally accessible. You can use this on modules, classes, interfaces, structs, enums, methods, and data. |