RealDocs

UKismetSystemLibrary::GetLocalCurrencySymbol

function Engine Blueprint Since unknown
#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);

Version History

Introduced in: unknown

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.