G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FCommonNumberFormattingOptions Struct Reference

Public Member Functions

Functions
FCommonNumberFormattingOptions & opAssign (FCommonNumberFormattingOptions Other)

Public Attributes

Numeral Formating
bool UseGrouping
 Should the numerals use group separators. IE: "1,000,000".
int 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".
int MaximumIntegralDigits
 How many integral digits should be shown at maximum? May cause rounding. IE: A maximum of 2 integral digits means 100.0 -> "99".
int 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".
int 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".
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.

Member Function Documentation

◆ opAssign()

Member Data Documentation

◆ MaximumFractionalDigits

int 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".

◆ MaximumIntegralDigits

int MaximumIntegralDigits

How many integral digits should be shown at maximum? May cause rounding. IE: A maximum of 2 integral digits means 100.0 -> "99".

◆ MinimumFractionalDigits

int 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".

◆ MinimumIntegralDigits

int 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".

◆ RoundingMode

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.

◆ UseGrouping

bool UseGrouping

Should the numerals use group separators. IE: "1,000,000".