Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/FMath > API/Runtime/Core/Math/FMath/IsNearlyZero
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
| Include | #include "Math/UnrealMathUtility.h" |
static bool IsNearlyZero
&40;
double Value,
double ErrorTolerance
&41;
Remarks
Checks if a floating point number is nearly zero. true if Value is nearly zero
Parameters
| Name | Description |
|---|---|
| Value | Number to compare |
| ErrorTolerance | Maximum allowed difference for considering Value as 'nearly zero' |