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