Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/FMath
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathUtility.h |
Include | #include "Math/UnrealMathUtility.h" |
Source | /Engine/Source/Runtime/Core/Private/Math/UnrealMath.cpp |
static bool Eval
&40;
FString Str,
float & OutValue
&41;
Remarks
Evaluates a numerical equation.
Operators and precedence: 1:+- 2:/% 3:* 4:^ 5:&| Unary: - Types: Numbers (0-9.), Hex ($0-$f) Grouping: ( ) 1 if successful, 0 if equation fails.
Parameters
Name | Description |
---|---|
Str | String containing the equation. |
OutValue | Pointer to storage for the result. |