Format Number For Display
PureFormatNumberForDisplayFormats a number with optional decimal places and thousand separators.
Type: Pure (no side effects)
Category: Fortuna|UMG/UI Helpers
Keywords: umg/ui helpers
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| Value | float | — | Value parameter |
| DecimalPlaces | int | 0 | DecimalPlaces parameter |
| bUseGrouping | bool | true | bUseGrouping parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | FString | ReturnValue output |
Example Use Cases
Example 1
Display '1,234,567' for a score.
Example 2
Show '$42.50' for a price.