UKismetTextLibrary::Conv_Int64ToText
#include "Kismet/KismetTextLibrary.h"
Access: public
Specifiers: staticBlueprintPureBlueprintAutocast
Description
Converts a 64-bit integer to formatted, localized text using the given number formatting options. Backs the 'To Text (Integer64)' Blueprint autocast node.
Caveats & Gotchas
- • Use this instead of Conv_IntToText for values that can exceed int32 range, such as large currency totals or Steam-style 64-bit IDs formatted as numbers.
- • The same culture-dependent grouping separator caveat from Conv_IntToText applies here.
Signature
static FText Conv_Int64ToText(int64 Value, bool bAlwaysSign = false, bool bUseGrouping = true, int32 MinimumIntegralDigits = 1, int32 MaximumIntegralDigits = 324); Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| Value | int64 | The 64-bit integer value to convert. | — |
| bAlwaysSign | bool | Whether to always show a sign (+/-), even for positive values. | false |
| bUseGrouping | bool | Whether to insert culture-appropriate thousands separators. | true |
| MinimumIntegralDigits | int32 | Minimum number of digits to display, zero-padding if needed. | 1 |
| MaximumIntegralDigits | int32 | Maximum number of digits to display, truncating leading digits if exceeded. | 324 |
Return Type
FText Example
Format a large total that exceeds int32 C++
int64 TotalXP = 9000000000;
FText XPText = UKismetTextLibrary::Conv_Int64ToText(TotalXP); // "9,000,000,000" Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?