Navigation
Unreal Engine C++ API Reference > Runtime > Core > Internationalization > FText
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Internationalization/Text.h |
Include | #include "Internationalization/Text.h" |
Source | /Engine/Source/Runtime/Core/Private/Internationalization/Text.cpp |
static FText AsCurrencyBase
&40;
int64 BaseVal,
const FString & CurrencyCode,
const FCulturePtr & TargetCulture,
int32 ForceDecimalPlaces
&41;
Remarks
Generate an FText that represents the passed number as currency in the current culture. BaseVal is specified in the smallest fractional value of the currency and will be converted for formatting according to the selected culture. Keep in mind the CurrencyCode is completely independent of the culture it's displayed in (and they do not imply one another). For example: FText::AsCurrencyBase(650, TEXT("EUR")); would return an FText of "