Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Containers > API/Runtime/Core/Containers/FString
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Containers/UnrealString.h |
| Include | #include "Containers/UnrealString.h" |
| Source | /Engine/Source/Runtime/Core/Private/Containers/String.cpp |
static FString SanitizeFloat
&40;
double InFloat,
const int32 InMinFractionalDigits
&41;
Remarks
Converts a float string with the trailing zeros stripped For example - 1.234 will be "1.234" rather than "1.234000" sanitized string version of float
Parameters
| Name | Description |
|---|---|
| InFloat | The float to sanitize |
| InMinFractionalDigits | The minimum number of fractional digits the number should have (will be padded with zero) |