Navigation
API > API/Plugins > API/Plugins/CommonUI
| Name | FCommonNumberFormattingOptions |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/CommonNumericTextBlock.h |
| Include Path | #include "CommonNumericTextBlock.h" |
Syntax
USTRUCT (BlueprintType )
struct FCommonNumberFormattingOptions
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCommonNumberFormattingOptions() |
CommonNumericTextBlock.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AlwaysSign | bool | Should the numerals always display the sign. IE: "+1". | CommonNumericTextBlock.h |
|
| MaximumFractionalDigits | int32 | How many fractional digits should be shown at maximum? May cause rounding. IE: HalfFromZero rounding and a maximum of 2 fractional digits means 0.009 -> "0.01". | CommonNumericTextBlock.h |
|
| MaximumIntegralDigits | int32 | How many integral digits should be shown at maximum? May cause rounding. IE: A maximum of 2 integral digits means 100.0 -> "99". | CommonNumericTextBlock.h |
|
| MinimumFractionalDigits | int32 | How many fractional digits should be shown at minimum? May cause digit "padding". IE: A minimum of 2 fractional digits means 1.0 -> "1.00". | CommonNumericTextBlock.h |
|
| MinimumIntegralDigits | int32 | How many integral digits should be shown at minimum? May cause digit "padding". IE: A minimum of 3 integral digits means 1.0 -> "001". | CommonNumericTextBlock.h |
|
| RoundingMode | TEnumAsByte< ERoundingMode > | The rounding mode to be used when the actual value can not be precisely represented due to restrictions on the number of integral or fractional digits. See values for details. | CommonNumericTextBlock.h |
|
| UseGrouping | bool | Should the numerals use group separators. IE: "1,000,000". | CommonNumericTextBlock.h |
|