UKismetSystemLibrary::GetLocalCurrencySymbol
#include "Kismet/KismetSystemLibrary.h"
Access: public
Specifiers: staticBlueprintCallable
Description
Returns the currency symbol (e.g. "$", "£") associated with the device's current locale.
Caveats & Gotchas
- • Like GetLocalCurrencyCode, this reflects OS locale settings rather than an authoritative billing region.
- • Some symbols are multi-character strings (e.g. "kr"), so don't assume a single glyph when laying out UI.
Signature
static FString GetLocalCurrencySymbol() Return Type
FString Example
Prefix a price with the local symbol C++
FString Symbol = UKismetSystemLibrary::GetLocalCurrencySymbol();
FString PriceText = FString::Printf(TEXT("%s%.2f"), *Symbol, Price); Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?