Navigation
API > API/Plugins > API/Plugins/CommonUI
References
| Module | CommonUI |
| Header | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/CommonNumericTextBlock.h |
| Include | #include "CommonNumericTextBlock.h" |
Syntax
USTRUCT&40;BlueprintType&41;
struct FCommonNumberFormattingOptions
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | MaximumFractionalDigits | 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". | |
| int32 | MaximumIntegralDigits | How many integral digits should be shown at maximum? May cause rounding. IE: A maximum of 2 integral digits means 100.0 -> "99". | |
| int32 | MinimumFractionalDigits | 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". | |
| int32 | MinimumIntegralDigits | How many integral digits should be shown at minimum? May cause digit "padding". IE: A minimum of 3 integral digits means 1.0 -> "001". | |
| TEnumAsByte< ERoundingMode > | RoundingMode | 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. | |
| bool | UseGrouping | Should the numerals use group separators. IE: "1,000,000". |
Constructors
| Type | Name | Description | |
|---|---|---|---|